add:     var vWidget = qx.event.handler.EventHandler.getInstance().getCaptureWidget(); if (vWidget && this.contains(vWidget)) { vWidget.setCapture(false); }  this.getWindowManager().remove(this); this._makeInactive(); } 
context: qx.Proto._beforeDisappear = function(){  // Intentionally bypass superclass and call super.super._beforeDisappear  qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);  // Reset focus root  var vFocusRoot = qx.event.handler.EventHandler.getInstance().getFocusRoot();  if (vFocusRoot == this || this.contains(vFocusRoot) {    qx.event.handler.EventHandler.getInstance().setFocusRoot(null);  }
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/9704720aa6e96ff975461b3ebfcd3fee4e594db8/Window.js/buggy/qooxdoo/frontend/framework/source/class/qx/ui/window/Window.js