Switch directly to the next active application without showing the app switcher

@Nige_S

Agree with your assessment that in this case synchronous is the correct route to go for the reasons you list.

I was wrongly thinking about situations in which I spawn HTML prompts which are rarely the last action and include Cancel or other means of closing them.

One interesting idea for an early close which I built (with a lot of help from Claude) is including a small timer that counts down the time until close where a single click on the timer closes the prompt and a double click stops the auto close; this provide maximum flexibility. I use it in windows with a timeout of 15s or more.