Remove parentless dialogs

All dialogs that don’t need a parent are opened for the active window.
Fixes #51
Merge pull request #71 from gergelypolonkai/bug-51

Remove parentless dialogs