Committing the changes to show the alert view.