change alerts to popups