Dialog sizing, titles, and z-index.  This should ensure the small <500px dialogs
are correct, all titles are correctly sized, and the dialog boxes go to
the top for older themes, too.
Fixed formatting in gallery.dialog.js (no functional changes).
Merge pull request #144 from shadlaws/jquery_dialogs

Jquery dialogs