Shift modal closes 1142

go ahead and pull this out into a `beforeEach` so the same can be used in both tests