diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js index ee6fd250f0..dfa3509367 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js @@ -1142,8 +1142,8 @@ ve.init.mw.ViewPageTarget.prototype.setupSaveDialog = function () { * @fires saveWorkflowBegin */ ve.init.mw.ViewPageTarget.prototype.showSaveDialog = function () { - // Focus the surface to make sure any open inspectors are closed - this.surface.getView().focus(); + // Make sure any open inspectors are closed + this.surface.getContext().closeCurrentInspector(); // Preload the serialization if ( !this.docToSave ) {