Removed angular code to close alerts.