Added the confirmation dialog and text view.