Dialog bug in version 1.10.0 ?

Dialog bug in version 1.10.0 ?

Hi i would like to know what is the expected result, as it as changed from 1.9.2

1. create dialog
2. inject html via ajax (don't think the source matters, put something in the dialog)
3. destroy the dialog: $(this).dialog("destroy");

1.10.0
removes the dialog

1.9.2
removes the dialog and makes the containing element invisible/display:none;

So basically it looks very odd that you now have whatever was put in the dialog appearing on the screen!
appended to the bottom, creating a scroll-bar....