Clicking on widget while holding down a key

I created a menu where i hold down CTRL and i want to be able to click certain things. Releasing CTRL closes the menu. My problem is whenever i click, the menu closes. All the widgets are set to visible and I’ve tested all the Input options… I can click off of the widget and my print test runs fine, just cant click on the widget itself. any help?

Did you ever figure this out?

Obviously there are lots of ways to handle what you are trying to do but the only thing that worked in my case was

In the project settings, uncheck “Should Flush Pressed Keys on Viewport Focus Lost”

and make sure widgets Is Focusable is unchecked.