changed the dialogs