Change how the alert is shown to support different alerts.