USD – Actions when I need them!

In Unified Service Desk I often only want to run actions when a particular tab is open. The problem is users are unpredictable things and they may have closed the tab without me knowing or maybe they never opened it. I could just run all the actions regardless and ignore any errors. But I don’t like doing that and it isn’t an efficient way of designing a solution. So, what so we do?