It then runs a loop, dispatching messages from the system message queue, but blocking all mouse or keyboard messages from reaching any components other than this one and its children.
Is this 100% true. I have a progress bar I’m bringing up. I call enter modal state in the constructor. When another shortcut key is pressed, the keyPressed handler on a component that isn’t my modal progress bar component is still called (and goes on to crash the app).
Do I need to capture all the keypresses in my progressbar and dump them?