allow having an element open a dialog just from markup
allow having an element open a dialog just from markup

Change-Id: I00f1864a524462d588bd912b1726b38f1d61b773
Reviewed-on: https://gerrit.instructure.com/5447
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Jacob Fugal <f862f167b85d41b225785c70d70808bc7337c1fe@instructure.com>

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