Add a closed event to alerts.