issue #18950, issue #24669 - do not try to save when opening in view mode