not using exec anymore
notificationdialog is now modal
refactoring