I am using the takeFocus() function to increase the priority of the popup UI.
However, when a button is pressed together with takeFocus(), all the buttons are not pressed.
To solve this, if you use the takeFocus() function again, the button is pressed, but the order of the UI is changed.
Is there any way to solve these problems?