Added an alert box. There's a bug when you dismiss the map view.