[SOLVED] Event's from one director module getting passed to popup module

I’m sure this is a FAQ but it’s late and I"m having trouble finding an answer.

So I have a director (1.4) based module that has a button on it. Clicking that button fires off a popup, which has a button in the exact same spot.

The event is hanging around after the popup loads and is triggering the button on the popup.

Hold the replies there, whipper-snapper… I am returning True in my button handler in the first module.

I suspect that the popup is happening before my event handler actually returns and thus the event is still live and is propogating through to the popup.

Any thoughts on how to stop this?
EDIT…
When all else fails, put it on a timer…

I added a 10ms delay to calling the popup, problem gone. [import]uid: 19626 topic_id: 24104 reply_id: 324104[/import]