Dialogs are working. One small error with an action in the Mainwindow.