Replacing dialog contents while dialog is active

Replacing dialog contents while dialog is active


I'm not sure if I have a bug or not... I have a 84-line proof of
concept spread across 4 .html files to reproduce the issue. Here's
what I'm doing:
- Page loads, #content div is populated via ajax.
- Dialog is created but not opened.
- Click a link, and:
--- The dialog contents are loaded.
--- The dialog opens up to show a single form.
- Submit the form, and the dialog contents are replaced.
- Close the dialog, and:
--- The dialog is destroyed.
--- #content is reloaded like in the first step.
At this point, I can no longer get the dialog to appear. I saved
before/after documents within FF3 and compared them line-by-line--
they're identical (except for the input value I use to check to see if
the form was actually submitted). I get identical results in Chrome
and IE7.
I'm wondering if I should submit a bug report about it, but I thought
I'd try here first before I compel anybody to sift through my code.
Thanks.