There is a Button object in the frame displayed in the Sub-Application.

When the button is pushed, it moves to the next frame.

It becomes impossible to operate the keyboard with the next frame then (cannot end the application by Alt+F4 pressed).

How can I use the button object in the Sub-Application?