added smart orientation support to the alert view controller