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