add: || ORBEON.util.Dom.hasClass(element, "xforms-dialog") 
context:     _findParentXFormsControl: function(element) {        while (true) {            if (!element) return null; // No more parent, stop search            if (element.xformsElement) {                // HTML area on Gecko: event target is the document, return the textarea                return element.xformsElement;            } else if (element.ownerDocument && element.ownerDocument.xformsElement) {                // HTML area on IS: event target is the body of the document, return the textarea                return element.ownerDocument.xformsElement;            } else if (element.className != null) {                if (ORBEON.util.Dom.hasClass(element, "xforms-control")                        || ORBEON.util.Dom.hasClass(element, "xforms-help-image")                        || ORBEON.util.Dom.hasClass(element, "xforms-alert")) {                    // We found our XForms element                    return element;                }            }            // Go to parent and continue search            element = element.parentNode;        }    },
meta: 5390	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5390/d2aeb81511efe0a8028526f34cf379a1f5fed95e/xforms.js/clean/src/resources-packaged/ops/javascript/xforms.js