The goal, however, is to not have unhandled triggers in your state graph,
though that can be a tedious effort depending on the problem. I've used a
trick to partition my sub-states. Whenever the "CanFire" check fails, put
the trigger in a queue or stack. When when exiting the substate, pull a
trigger out of the queue. I've run into this condition a lot when
creating UX since fancy UI builds up a lot of states and triggers.
Good luck.
-g