When form is closed, refresh map to clear any unsaved geometry changes.