Stopping input into a pending window
For some data entry, my scripts "jump" to another, "pop up" window where the data is entered. The "pending" window is waiting for the data to be entered and the user to push a button to end the entry process, closing the window and returning to the initial window.
Here's short story to the problem: the pending window is still open and available for data entry and has its own buttons to return to different layouts. How do I "freeze" or prevent any input into the pending window until a return button is pressed on the "pop up window"? If I allow input into the pending window before the pop up is closed, there is potential for some serious problems to occur.