Added an alerts commponent for an example