Add alert snippet