Dialog form - documentation?

Dialog form - documentation?

I'm building a dialog with a form in it, following the demo. The form html goes within a <div> section which contains a <form> which in turn contains custom tags such as <fieldset> and <label>.
 
I can't find any documentation for these or how to use them. Can anyone point me in the right direction?