There is a thread here (Made dialog to mimic shutdown/restart dialog!) that works incredibly well, with one exception. When the resulting window (if that’s what it actually is) comes up, I haven’t been able to find a way to make the window active. I’ve searched here endlessly, as well as anything to do with moving the cursor to the window, with no luck.
I’ve also investigated something called “clickclick” (I believe that’s what it’s called), but have hesitated with installing, as I’m not sure that will do what’s needed.
Any help, or suggestions would be appreciated. Thanks.