Added support for editing alerts.