reverting dialogs