remove unwanted dialogs