Javascript modal dialog changes

Use JSON to call help_text.php.
Use new function (displayDialog) to create and display a modal dialog
and modify modalDialog(), helpDialog() & modalNotes to call it.