This way we reproduce the user experience in the tests, and we can make sure modal dialogs open when we expect it.
RSpec/HookArgument