optimize keyboard focus management on dashboard's modals

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