remapping alerts to navigator alerts