I've got an issue with tabIndexes. On one of my panels I open a modal window and everything but the window is masked out, but I can still tab through my application beneath the mask, and use the enterkey, etc.

What is the easiest way to prevent any navigation under the mask from happening?

I tried disabling the viewport, but that disables the window as well.

Any suggestions?