'Add alert' event fix.