I'm glad someone found a solution to what you wanted to do.
I do hope they'll fix the "activate Dialog" event for the real release tough. I can use an event to activate an inactive Task no problem, but activating an inactive Dialog doesn't work
And having a condition "if Dialog is active/inactive" is going on my wishlist.