we default to checking it inside the `open` method in the View class. We need to do it like that so that the state is reset if the modal is closed and reopened.