Pop up window not modaling complete parent window

Hi,

I am opening popup window using following code and not able to disable complete parent window. I have attached one JPG file to show the problem.
This is issue when parent page has vertical scrollbar and user opens popup after scrolling parent page to the bottom.

function showDHTMLXPopUpSH(url, xCoord, yCoord, pWidth, pHeight, modalYN, headerText, hideButtons)
{
var imgPathWindow = “…/DHTMLX/dhtmlxWindows/codebase/imgs/dhxwins_c594/”;
var popupWindow;
var xmlGUIToolsTabs = “…/GUITools/GUIToolsTabset.xml”;
dhxWins1 = new dhtmlXWindows();
dhxWins1.setImagePath(imgPathWindow);
dhxWins1.setSkin(“c594”);
popupWindow = dhxWins1.createWindow(“popupWindow”, xCoord, yCoord, pWidth, pHeight);
dhxWins1.window(“popupWindow”).setText(headerText);
popupWindow.attachURL(url);
popupWindow.show();
popupWindow.setModal(modalYN);
if(hideButtons==true)
{
dhxWins1.window(“popupWindow”).button(“park”).hide();
dhxWins1.window(“popupWindow”).button(“minmax1”).hide();
}
document.body.scroll=“no”;
//document.body.style.overflow = “hidden”;
// GUITools.LogMessage(headerText + ‘Popup Initialized’, 1);
}


Hi,

we need the complete demo to recreate the problem

I have sent one screen shot of the problem and also sent code which I have used to open pop-up.
Please let me know how to create a complete demo.

Complete demo is a sample with all necessary files. So, to recreate the problem we just need to open the html file from this sample.