changed popups for alerts