Call getActiveEditor() to get the document when invoking save command.
Merge pull request #2469 from adobe/rlim/issue-2423

Use getActiveEditor() instead of getFocusedEditor() for save command.