fix dialogs