OK here are the two line as a "Share your code";
open dialog... have two dialog buttons... one that does;
$(this).dialog("close");
and
$('#dialog').dialog('destroy');
put some stuff: anything in the dialog.... contents section.... just before opening the dialog.
so have this div sitting waiting for dialog to be called on...
"<div id="dialog"><div id="dialogContents"></div></div>"
at the bottom of the screen...
then inject something into it...."some text" call the dialog.... then click the button that destroy the dialog.... it will leave whatever you put in the dialog showing..... eg
<div id="dialog">
<div id="dialogContents">
some text that you injected into this space
</div>
</div>
in all versions before... 10.0...it would make this container style "display: none"... this is now not happening and i would like to know which one is the expected result.