Disable background user interaction when popup is opened

Hi,

I would like to disable background user interaction when a popup is open, similar to how we use the 'modal' property in Perspective.

Any ideas to do this?

Perspective or Vision? You've tagged the question as both.

In general, you make the view modal. See the documentation.

Sorry, i have updated now,
I need it in vision.