Tidy up jQuery modal dialog functions

helpDialog() now requests data in json format (cuts calls to
help_text.php from two to one). modalNotes() should probably be renamed
to something like modalDialog to more accurately reflect it's purpose