[Delivers #54842540] Fix browser focus not moved to modal dialog

Focus the modal upon displaying to reset the tab index.  Subsequent tab will focus first item in the modal (form field, button or link depending on the browser settings).

Also focus the modal initiator (link or button that opened the dialog) upon close.  This allows the keyboard users to continue from their previous tab index.