Improve initial positioning of popup dialogs
Consolidate common style and HTML element defintions.
Merge pull request #199 from pcpiela/master

Improve initial positioning of popup dialogs