Added jquery-ui as a client-side dependency, and added dialog styles
Copy the JS to the docs dir
Added feature to view markup in dialog in the forms docs