Revert "remapping alerts to navigator alerts"

This reverts commit 016c4c142f3cd6897bd629451f595ab3246349df.
Extending the alert functionality instead of having if statements at every use