How to setModal with two dhtmlxWindows

I have two dhtmlxwindows as following
the first one:

[code]var dhxWins = new dhtmlXWindows();

var popWin = dhxWins.createWindow(“test”, 0, 0, 600, 400);

the second one:

var mbdhxWins = new dhtmlXWindows(); .... var mbpopWin = mbdhxWins.createWindow("test", 500, 0, 600, 400); mbpopWin.setModal(true);

the second one is popuped from the first one(not in the first one’s frame,but stand side by side),they are all setModal true,but the second one can not cover the fisrt one,I still can operator the input text in the first one frame,I want to cover the first one where the second one popup,how can I do that? thanks a lot


natively windows allowed only one modal window