UI Dialog AppendTo(Body)

UI Dialog AppendTo(Body)


Anybody know why the dialog code is Appended to the Document.Body by
default? This causes problems when using form fields within the
dialog because it physically moves the fields outside the scope any
forms. Just curious why this is default behavior. And if it is
because of compatibilty issues, why aren't they addressed in the code
instead of making a drastic code move? I modified my dialog.js, but
don't know what the consequences will be for other browsers.
Thanks,
Mike