fix SubmissionDetailsDialogSpec
fix SubmissionDetailsDialogSpec

fixes intermittent "Error: cannot call methods on
dialog prior to initialization" problems in js tests
caused by calling .dialog('open') on the original element

test plan:
* regression test the submission details dialog

Change-Id: I2f1b5812ad726a0b7b47b0da1ee949d2ad070a67
Reviewed-on: https://gerrit.instructure.com/48705
Tested-by: Jenkins
Reviewed-by: Simon Williams <088e16a1019277b15d58faf0541e11910eb756f6@instructure.com>
QA-Review: Clare Strong <40d6bb3ed7fef516c73274131d5a837c16de74fd@instructure.com>
Product-Review: James Williams  <3a5f4ed991dbfa5c9ef76ad729d240ca12f62180@instructure.com>

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