the “modal” area occupies the viewport of the dhtmlxWindows. If the viewport is default (document body) and page has scrolls, there could be problems as body size can be less than visual page size. For this reason, it would be better to attach viewport to the “overall” container (container that includes all other elements of the page):