Adding alerts to show view