Implemented global approach to assigning focus to an element.
Merge pull request #3209 from pjackson28/globalfocus

Implemented global approach to assigning focus to an element.