handle buttons in dialog_opener[aria-controls] links
handle buttons in dialog_opener[aria-controls] links

we provide a way that in markup you can do:
<a class="dialog_opener" aria-controls="foobar" role="button" …>

and that would open the element #foobar in a dialog

this just makes it so if #foobar had buttons set up
to work with fixDialogButtons() they would be converted
to jqueryuiDialog buttons.

Change-Id: I3b3dcfecde187ddb9273bd88a6e564fb475e1ec8
Reviewed-on: https://gerrit.instructure.com/8784
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Ryan Florence <2d8900489f91ac272fd9ce9d5789db6522668ca2@instructure.com>

usmschuck/canvas,utkarshx/canvas-lms,HotChalk/canvas-lms,arrivu/hiring-site,venturehive/canvas-lms,Unow/ins,landonwilkins/canvas-lms,grahamb/canvas-lms,Rvor/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,arrivu/arrivu-lms,sfu/canvas-lms,skmezanul/canvas-lms,AndranikMarkosyan/lms,wrdsb/canvas-lms,rup/Tarrax,arrivu/qibla-ecampus,efrj/canvas-lms,usmschuck/canvas,efrj/canvas-lms,grahamb/canvas-lms,kyroskoh/canvas-lms,dgynn/canvas-lms,instructure/canvas-lms,SwinburneOnline/canvas-lms,arrivu/jigsaw-lms,merichar/canvas-lms,greyhwndz/canvas-lms,djbender/canvas-lms,em2/canvas-lms,whalejasmine/canvas-lms,whalejasmine/canvas-lms,jay3126/canvas-lms,arrivu/qibla-ecampus,leftplusrightllc/canvas-lms,arrivu/arrivu-lms,redconfetti/canvas-lms,leftplusrightllc/canvas-lms,arrivu/jigsaw-lms,tgroshon/canvas-lms,ankithbti/canvas_lms,utkarshx/canvas-lms,tgroshon/canvas-lms,Unow/canvas-lms,arrivu/hiring-site,instructure/canvas-lms,sli7246/canvas_branch,jay3126/canvas-lms,narigone/canvas,sfu/canvas-lms,Unow/ins,snehakachroo1/LSI_replica,AndranikMarkosyan/lms,eCNAP/CANVAS,Jyaasa/canvas-lms,matematikk-mooc/canvas-lms,gbleydon/canvas-lms,HotChalk/canvas-lms,rup/Tarrax,dgynn/canvas-lms,jay3126/canvas-lms,parbros/red-innovadores-lms,leftplusrightllc/canvas-lms,landonwilkins/canvas-lms,ShreniiNepal/shrenii_lmp,venturehive/canvas-lms,roxolan/canvas-lms,wye0220/shindig-canvas,antoniuslin/canvas-lms,antoniuslin/canvas-lms,Jyaasa/canvas-lms,fronteerio/canvas-lms,loganrun/pincan,kyroskoh/canvas-lms,parbros/red-innovadores-lms,shidao-fm/canvas-lms,shidao-fm/canvas-lms,loganrun/pincan,instructure/canvas-lms,samuels410/greatlakes-lms,Unow/ins,whalejasmine/canvas-lms,va7map/canvas-lms,instructure/canvas-lms,icelab/canvas,Jyaasa/canvas-lms,em2/canvas-lms,efrj/canvas-lms,parbros/red-innovadores-lms,utkarshx/canvas-lms,gbleydon/canvas-lms,arrivu/hoodemo,venturehive/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,roxolan/canvas-lms,ankithbti/canvas_lms,va7map/canvas-lms,utkarshx/canvas-lms,jay3126/canvas-lms,narigone/canvas,SwinburneOnline/canvas-lms,greyhwndz/canvas-lms,kyroskoh/canvas-lms,em2/canvas-lms,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,kyroskoh/canvas-lms,juoni/canvas-lms,arrivu/hoodemo,Rvor/canvas-lms,sdeleon28/canvas-lms,wimemx/Canvas,samuels410/greatlakes-lms,Jyaasa/canvas-lms,narigone/canvas,sfu/canvas-lms,samuels410/greatlakes-lms,SwinburneOnline/canvas-lms,samuels410/greatlakes-lms,HotChalk/canvas-lms,Rvor/canvas-lms,antoniuslin/canvas-lms,instructure/canvas-lms,matematikk-mooc/canvas-lms,nditech/red-innovadores-lms,SwinburneOnline/canvas-lms,arrivu/arrivu-lms,matematikk-mooc/canvas-lms,wrdsb/canvas-lms,landonwilkins/canvas-lms,rup/Tarrax,skmezanul/canvas-lms,usmschuck/canvas,snehakachroo1/LSI_replica,skmezanul/canvas-lms,grahamb/canvas-lms,dgynn/canvas-lms,instructure/canvas-lms,grahamb/canvas-lms,leftplusrightllc/canvas-lms,djbender/canvas-lms,loganrun/pincan,nditech/red-innovadores-lms,arrivu/jigsaw-lms,greyhwndz/canvas-lms,instructure/canvas-lms,ShreniiNepal/shrenii_lmp,ankithbti/canvas_lms,whalejasmine/canvas-lms,wye0220/shindig-canvas,redconfetti/canvas-lms,nditech/red-innovadores-lms,gbleydon/canvas-lms,redconfetti/canvas-lms,eCNAP/CANVAS,arrivu/hoodemo,venturehive/canvas-lms,antoniuslin/canvas-lms,djbender/canvas-lms,eCNAP/CANVAS,HotChalk/canvas-lms,nditech/red-innovadores-lms,sfu/canvas-lms,sli7246/canvas_branch,fronteerio/canvas-lms,narigone/canvas,snehakachroo1/LSI_replica,wye0220/shindig-canvas,AndranikMarkosyan/lms,juoni/canvas-lms,usmschuck/canvas,fronteerio/canvas-lms,wimemx/Canvas,sli7246/canvas_branch,wrdsb/canvas-lms,sdeleon28/canvas-lms,greyhwndz/canvas-lms,ShreniiNepal/shrenii_lmp,skmezanul/canvas-lms,landonwilkins/canvas-lms,arrivu/hiring-site,sdeleon28/canvas-lms,juoni/canvas-lms,sfu/canvas-lms,merichar/canvas-lms,sdeleon28/canvas-lms,roxolan/canvas-lms,arrivu/qibla-ecampus,wrdsb/canvas-lms,eCNAP/CANVAS,juoni/canvas-lms,roxolan/canvas-lms,djbender/canvas-lms,AndranikMarkosyan/lms,wimemx/Canvas,fronteerio/canvas-lms,redconfetti/canvas-lms,Rvor/canvas-lms,va7map/canvas-lms,Unow/canvas-lms,shidao-fm/canvas-lms,merichar/canvas-lms,tgroshon/canvas-lms,snehakachroo1/LSI_replica,Unow/canvas-lms,efrj/canvas-lms,icelab/canvas,tgroshon/canvas-lms,shidao-fm/canvas-lms,icelab/canvas,va7map/canvas-lms