Check if workbench window still exists.
Merge branch 'bug-18368-file-save-action-may-use-nullptr'