Adjust code to allow use of Strict Mode

Replaced use of Dojo's inherited method with plain JavaScript.
Add methods to show/hide a modal message overlay