        window.cancelAnimationFrame(this.__openChangedAsync);
      }
      if (this.opened) {
        if (this.withBackdrop) {
          this.backdropElement.prepare();
        }
        this.__openChangedAsync = window.requestAnimationFrame(function() {
          this.__openChangedAsync = null;
          this._prepareRenderOpened();
          this._renderOpened();
        }.bind(this));
      } else {
        this._renderClosed();
      }
    },

    _canceledChanged: function() {
      this.closingReason