This example show how to return the element back to its pre-init state.
And illustrate bug in jQuery UI dialog.
[ By zniki.ru | http://vk.com/zniki ]
I'm good! I will return to my parent, before buttons!
I'm bad! =)
Open good dialog
Open bad dialog