add template for displaying alerts