modified template for alert