This shows an example of a common "Contact Us" form in a popup window. The form uses vbox and hbox layouts to acheive a uniform flexible layout even when the window is resized.
Note that TAB based navigation within the modal window is confined to within the window.
The js is not minified so it is readable. See contact-form.js.