dhtmlx window issue

we have a dhtmlx layout 3l. and in cell ‘C’ we have used Attach URL to attach a form. On the form we have a button which opens a dhtmlx windows. However the window open’s within the Cell ‘c’. We want it to open on top of the layout? Is their anything we can do?

We cannot use AttachObject for the form as it keeps getting destroyed on clicking on some other section and returning.

In this case the windows object must be initialized on the main page:

var wins = new dhtmlXWindows();

var layout = new dhtmlxLayout(…);

And the window creation code can be called inside the page loaded into the layout cell:

var win = parent.wins.createWindow(…);