this.modalLayer = compMgr.createItsNatModalLayer(null,false,9010,(float)0.2,"black",null); // opacity is ignored because ExtJS HTML already includes a semitranparent layer
unexpectedEventDetection();
DocumentFragment frag = extJSDoc.loadDocumentFragment("extjsexample_error_new_item");
this.modalWinElem = ItsNatTreeWalker.getFirstChildElement(frag);
HTMLDocument doc = itsNatDoc.getHTMLDocument();
Element body = doc.getBody();
body.appendChild(modalWinElem);
this.closeIconElem = doc.getElementById("ext-gen1006");
((EventTarget)closeIconElem).addEventListener("click",this,false);
this.okElem = doc.getElementById("ext-gen970");
((EventTarget)okElem).addEventListener("click",this,false);
}