Use Sinon's sandbox method
Set context variable upon Dialog creation