nit: you can just do `window.confirm.returns(false)` and get rid of the confirmStub var