dialog creation code cleaned up significantly. Dialogs are now defined by external html files. Lots of old code stripped out. Localhost server added for getting around Chrome's Same-Origin-Policy for local files.