Give a parent to the dialog.
Allow to workaround a bad configuration.