Disable full page while one popup open

Hello All,

I have developed SCADA with Popup page using metadata functions. I needed only one popup page at a time so set [PAGE]Windows = 2 and its working fine.

But now i want to disable full page command while popup page open. Means no operation should be done without closing popup page.

Does any one have any idea, how can i achieve it ?