How to make the entire parent window of dhtmlxwindow Modal

I have made the parent window modal by:

w1= dhxWins.createWindow(“w1”,20,30 ,100, 200);

But still by scrolling down or resizing the parent window, i am able to access the parent window and it is not modal at some portions inspite of div “vpObj” being made to cover the entire parent window

So how can we make the entire parent window modal so that even after scrolling or resizing the parent window is not accessible.


here is the working demo (43.3 KB)