Bug with jqModal using jQuery

Bug with jqModal using jQuery


Hello there.
So, Im using jqModal to build an Ajax-Chat system.
So, through the system, admins can invite a guest to a chat.
There is only one guest per chat, the rest is all registered users.
So, in the guest chat page (is diferent from the other users), there
is this div, that shows the Questions that the users send for him to
answer.
When he clicks (a href=answer.php class=thickbox) in one question to
answer, opens this Modal div with i-frame .
Ok.
The problem is:
This div with the Questions in the guest chat-page, is refreshed by
one setInterval function. So it can get all new questions from time to
time.
But when the div is "refreshed", the Modal window stops working...
opening the question in another window.
Can someone give me tips about this?
Thanks,
Victor Souto