returns focus to cog after leaving 'Move to' modal on assignments page
returns focus to cog after leaving 'Move to' modal on assignments page

fixes CNVS-19524

test plan:
- go to assignments page, use keyboard nav to get to the gear icon on a group
- open the gear and select "Move To", then exit out of the modal
- focus should return to the cog
- follow above steps, but move an assignment
- focus should return to the cog at the group's new position

Change-Id: Ib46aa9573c75b6b294f8aba59605ee4e8b9746e1
Reviewed-on: https://gerrit.instructure.com/51028
Product-Review: Aaron Cannon <25919c673621c006b735dcd5a28df63325948e2b@instructure.com>
Reviewed-by: Simon Williams <088e16a1019277b15d58faf0541e11910eb756f6@instructure.com>
Tested-by: Jenkins
QA-Review: Adam Stone <a0b2b61e2edcf99aa16080c2254a6ae6923d1fac@instructure.com>

dgynn/canvas-lms,tgroshon/canvas-lms,greyhwndz/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,venturehive/canvas-lms,sfu/canvas-lms,kyroskoh/canvas-lms,Jyaasa/canvas-lms,AndranikMarkosyan/lms,juoni/canvas-lms,efrj/canvas-lms,grahamb/canvas-lms,SwinburneOnline/canvas-lms,SwinburneOnline/canvas-lms,eCNAP/CANVAS,venturehive/canvas-lms,utkarshx/canvas-lms,kyroskoh/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,greyhwndz/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,ShreniiNepal/shrenii_lmp,utkarshx/canvas-lms,jay3126/canvas-lms,grahamb/canvas-lms,jay3126/canvas-lms,va7map/canvas-lms,antoniuslin/canvas-lms,snehakachroo1/LSI_replica,whalejasmine/canvas-lms,antoniuslin/canvas-lms,venturehive/canvas-lms,snehakachroo1/LSI_replica,antoniuslin/canvas-lms,skmezanul/canvas-lms,fronteerio/canvas-lms,roxolan/canvas-lms,kyroskoh/canvas-lms,efrj/canvas-lms,narigone/canvas,sfu/canvas-lms,grahamb/canvas-lms,tgroshon/canvas-lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,instructure/canvas-lms,Rvor/canvas-lms,jay3126/canvas-lms,va7map/canvas-lms,sdeleon28/canvas-lms,AndranikMarkosyan/lms,eCNAP/CANVAS,AndranikMarkosyan/lms,narigone/canvas,SwinburneOnline/canvas-lms,redconfetti/canvas-lms,eCNAP/CANVAS,roxolan/canvas-lms,jay3126/canvas-lms,Rvor/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,skmezanul/canvas-lms,kyroskoh/canvas-lms,whalejasmine/canvas-lms,instructure/canvas-lms,djbender/canvas-lms,greyhwndz/canvas-lms,wrdsb/canvas-lms,Rvor/canvas-lms,sdeleon28/canvas-lms,leftplusrightllc/canvas-lms,narigone/canvas,shidao-fm/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,sdeleon28/canvas-lms,ShreniiNepal/shrenii_lmp,Jyaasa/canvas-lms,leftplusrightllc/canvas-lms,Rvor/canvas-lms,juoni/canvas-lms,narigone/canvas,skmezanul/canvas-lms,va7map/canvas-lms,dgynn/canvas-lms,juoni/canvas-lms,roxolan/canvas-lms,fronteerio/canvas-lms,venturehive/canvas-lms,greyhwndz/canvas-lms,roxolan/canvas-lms,grahamb/canvas-lms,eCNAP/CANVAS,instructure/canvas-lms,leftplusrightllc/canvas-lms,ShreniiNepal/shrenii_lmp,HotChalk/canvas-lms,wrdsb/canvas-lms,instructure/canvas-lms,va7map/canvas-lms,wrdsb/canvas-lms,matematikk-mooc/canvas-lms,sdeleon28/canvas-lms,whalejasmine/canvas-lms,efrj/canvas-lms,whalejasmine/canvas-lms,leftplusrightllc/canvas-lms,sfu/canvas-lms,shidao-fm/canvas-lms,fronteerio/canvas-lms,efrj/canvas-lms,Jyaasa/canvas-lms,ShreniiNepal/shrenii_lmp,redconfetti/canvas-lms,shidao-fm/canvas-lms,dgynn/canvas-lms,matematikk-mooc/canvas-lms,skmezanul/canvas-lms,dgynn/canvas-lms,wrdsb/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,djbender/canvas-lms,grahamb/canvas-lms,HotChalk/canvas-lms,shidao-fm/canvas-lms,juoni/canvas-lms,fronteerio/canvas-lms,AndranikMarkosyan/lms,snehakachroo1/LSI_replica,utkarshx/canvas-lms,SwinburneOnline/canvas-lms,matematikk-mooc/canvas-lms,instructure/canvas-lms,redconfetti/canvas-lms,instructure/canvas-lms,snehakachroo1/LSI_replica