I didn't want to leave the modal up for subsequent tests. I guess it would be cleaner to do this in an afterEach method to make it clear that it isn't part of the test.