Don't pass parent window to dialogs (Fixes #127)