diff --git a/ui/dialog.js b/ui/dialog.js index a86f654d2..8381443ae 100644 --- a/ui/dialog.js +++ b/ui/dialog.js @@ -155,6 +155,7 @@ return $.widget( "ui.dialog", { var next, originalPosition = this.originalPosition; + this._untrackInstance(); this._destroyOverlay(); this.element