2202: Behavior of read-only maps: Fix close behavior
(also clean up and make sure that isSaved()==true for new docu maps)