I'm observing a strange behavior for standard dialog boxes like the ones opened with opendialog() and savedialog().
When such a dialog window is opened:
1) it is not kept in foreground w.r.t. the "parent" main window
2) it seems only partially modal, I can still interact with some widgets in the main window but not all the events are propagated