optimize keyboard focus management on dashboard's modals