Implement the alert view callback