got the alert view working correctly