code: function () {
          var self = this, i;
  
          self.dragHelper.destroy();
          self._super();
  
          if (self.statusbar) {
            this.statusbar.remove();
          }
  
          toggleBodyFullScreenClasses(self.classPrefix, false);
  
          i = windows.length;
          while (i--) {
            if (windows[i] === self) {
              windows.splice(i, 1);
            }
          }
  
          toggleFullScreenState(windows.length > 0);
        }
docs: Removes the current control from DOM and from UI collections.
  
  @method remove
  @return {tinymce.ui.Control} Current control instance.