Don't allow components under container to be clicked

Hello All,

I have been trying to get user input while in the middle of my script execution using popup windows. But Ignition doesn't allow the script to pause while the popup is open. I have tried using the options in Adding a Delay to a Script but I can't get them to work the way that I want. So I have been trying to show/hide containers to achieve my goals. When I get to a point where I need the user input, I display the container, exit the current execution and continue to a function in the root container once I've received the user input. But what I am finding is that even though my displayed container is covering the entire screen, I am still able to click on the components under it.

Question 1:
Is there a better way that I can get the user input and use it in the code that follows?

Question 2:
Is there a way to stop clicking the components under the container?

Thanks for the help!

Put pass in the mouseclicked event on the container.

That seems to do the trick. Thank you!