this.modalLayer = compMgr.createItsNatModalLayer(null,false,9000,(float)0.2,"black",null); // opacity is ignored because ExtJS HTML already includes a semitranparent layer
unexpectedEventDetection();
DocumentFragment frag = extJSDoc.loadDocumentFragment("extjsexample_confirm_remove_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.yesElem = doc.getElementById("ext-gen978");
((EventTarget)yesElem).addEventListener("click",this,false);
this.noElem = doc.getElementById("ext-gen986");
((EventTarget)noElem).addEventListener("click",this,false);
Element msgElem = doc.getElementById("ext-gen1015");
ItsNatVariableResolver resolver = itsNatDoc.createItsNatVariableResolver();
resolver.setLocalVariable("name",name);
resolver.resolve(msgElem);
}