Disable/Lock all Main Window click events while pop-up is open

The goal is that I would still be able to see what’s going on in the main window, but have a pop-up window that locks all activity on the main window until it’s closed.

I assumed the easiest way to do this would be with a 50% transparent rectangle or container overlaying the main window that becomes visible when the pop-up opens but when I tried that I was able to click through those components to the buttons behind it.

Is there a way to disable click through or am I going to need to code in disabling all components and nested components on the main window?

Take a look at this thread, especially Kyle’s contributions:

1 Like

Thanks! I was looking around but wasn’t searching for modal, it’s exactly what I needed