Displacement of deactivated part in case of Modal Dialog

I’m Popup over popup scenario in the given example. When we open 2nd modal popup on the 1st popup then the deactivated grayed portion is not covering whole area of 1st popup. Please look in to this issue. I’ve also attached screenshot of the same. I’ve attached .rar files as the sample’s size was larger than allowed attachement size.
ModalPopupWindowIssue.part3.rar (119 KB)
ModalPopupWindowIssue.part2.rar (200 KB)
ModalPopupWindowIssue.part1.rar (200 KB)


you may try to define dhtmlXWindows object on the sample.html page:

dhxWins = new dhtmlXWindows();

And call it from the main.html:

var dhxWins = layout.dhxWins.window(“window1”)._frame.contentWindow.dhxWins;
var windowObj = dhxWins.createWindow(“window2”, 100, 100, 400, 400);
windowObj.setText(“Second Widnow”);