Removed custom confirm dialog and use showYesNoDialog.