Added confirmation dialog.