added confirmation dialogs