Also look at this thread, as it looks like there are a couple of open PR’s for osdialog, about it:
osdialog