Destroy on dialog bug - fixed?

Destroy on dialog bug - fixed?


I have posted a possible fix for the missing destroy functionality on
ui.dialog.
See: http://dev.jquery.com/ticket/2341
Was hoping someone could have a look at it to see if the fix is good
enough.