Closing Pop-Up on Button Press

I’m not sure if this is already possible or a feature request. I have an activity that starts up all my equipment. It then jumps to an “activity selector” pop-up screen. There, I have options such as “Watch Movie”, “Watch TV”, “Listen to Music” which jumps to the applicable activity and configures the system for that activity.

The only part of the configuration that I can’t seem to get to work is to have the pop-up close on button press. Is this possible or is there a different set of instructions I should be using?