set all dialogs apart from the mainwindow module