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 b1eeb1b9db..e8873e3176 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js @@ -1227,8 +1227,8 @@ ve.init.mw.ViewPageTarget.prototype.showSaveDialog = function () { } this.saveDialog.setSanityCheck( this.sanityCheckVerified ); - this.saveDialog.open( - this.surface.getModel().getFragment(), + this.surface.getDialogs().openWindow( + this.saveDialog, { 'dir': this.surface.getModel().getDocument().getLang() } ) // Call onSaveDialogClose() when the save dialog starts closing