Make all windows active/inactive

I have a page where muliltple DHTMLXWindows are created against clicking links. There is also a session timeout warning popup that comes out if user has made no activity and session is about to expire in few minutes.

When timeout popup displayed i need to make all other popups inactive. I tried the tip given in documentation as:
dhxWins._makeActive(null);

But it doesn’t work. I do have references to all opended windows through global dhXwins variable. In forEachWindow loop i can get handler to each window but is there any method to make window inactive.

To elaborate i need to keep my session timeout warning popup on top always. There is no event like onBlur that i can capture and foucs again on session timeout window. Any other workarround please?

dhxWins._makeActive(null) makes all windows of dhxWins inactive. This solution works.

By inactive i mean user should not able to perform any action on window.

First this doesn’t work. For example i can still drag a popup and enter values in text fields displayed in window. So it is not making popup windows inactive.

Second i need to inactivate all windows but session timout window. So looping through ForEachWindow and calling inactve() kind of solution is more appropirate.

The component doen’t provide a ready method to do this. The possible solution - to cover the viewport by a transparent container.

Righnow in ForEachWindow loop i hide all windows except timeout warning. and on closing this warning window i show rest of windows.

Thanks