Pageunload event when using frame dialog

Pageunload event when using frame dialog

Hi,<div>
I am using the frame dialog pluggin of jquery ui.
</div><div>
</div><div>Now if i load a page using the frame dialog and i click on the close window button, the page unload event does not fire.</div><div>
</div><div>Is there any work around so that the event can be fired?</div>
<div>
</div><div>Regards</div><div>Anitha</div><div>
</div>


--