Use dojo.withDoc to make sure the Workbench document is used.  The
_srcChanged method can be called from a SourceChangeCommand, which has a
withDoc for the inner document. Fixes #3960