hudmol/archivesspace — pull request #588 by payten (2013-11-14 23:21:06+00:00)
Title: [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.