Enforce use of appropriate parent-shell for dialogs