ui-dialog: why is the dialog-content "removed" (appended to) the dialog-container?
ui-dialog: why is the dialog-content "removed" (appended to) the dialog-container?
hi jquerers, when calling: $(element).dialog(modal: true, buttons: {Cancel: function() {$ (this).dialog('close');}}) the $(element) gets effectively removed on _init() -why? After canceling a dialog one should be able to reopen the dialog... the documentation does not mention such cases and in the demo each click just loads a page (e.g. http://jqueryui.com/demos/dialog/modal-confirmation.html) there are some confusing line about 'open', 'close' and 'destroy' which i do not understand: @ http://jqueryui.com/demos/dialog/#modal-confirmation