added confirmation dialogs to the UI per the TA