Set top level window as parent for all dialogs
Merge pull request #440 from egbertbouman/dialog_fix

Set top level window as parent for all dialogs