we had a problem with the map view not killing itself when transitioning from the map view to the alerts view...but I think this works