App was still set to visible when hidden in the system tray.
Fixed crash where the dialog was setting its owner to the main window which wasn't created yet.