ItsNatComponentManager compMgr = itsNatDoc.getItsNatComponentManager();
ItsNatModalLayer layer = compMgr.createItsNatModalLayer(null,false,1,0.5f,"black",null);
Element parentLayer = layer.getElement();
parentLayer.setAttribute("id","overviewPopupLayerContainerId");
HTMLBodyElement body = (HTMLBodyElement)doc.getBody();
DocumentFragment frag = spiTutDoc.loadDocumentFragment("overview.popup");
Element container = ItsNatTreeWalker.getFirstChildElement(frag);
body.appendChild(container);
container.setAttribute("id","overviewPopupContentContainerId");
itsNatDoc.addCodeToSend("try{ window.scroll(0,-1000); }catch(ex){}");
// try/catch is used to prevent some mobile browser does not support it