I was looking at some code and had a question about popup
dispatchEvent( ... some event ... );
In our case, the event triggers a Cairngorm command class
that takes a while to complete. Is it safe to kill the popup this
way? I am thinking it's better to remove the popup at the end of
the event handler, not right after the event is dispatched (as
However, as the code appears to work, I thought I'd ask if
anyone knows whether it matters.