optimize keyboard focus management on dashboard's modals

@dianakhuang 
@talbs 
@caesar2164 

Optimizes keyboard management of the modals in the dashboard view.

addresses https://edx-wiki.atlassian.net/browse/LMS-1305