Dialogs, bugfixes