Click + Hide Other Windows

I have been fooling with Ventura on another computer, and quite like the focus from Stage Manager.

I tried to mimic a bit of its functionality with BTT, by assigning 2 actions to a mouse action as shown below.

It works, but if I click the app in the dock, I don't wind up with just the clicked app.