Remove parentless dialogs

All dialogs that don’t need a parent are opened for the active window.
Fixes #51