Saves the map of the active map window.