this feels like it should be in the modal view, since that's what is responsible for removing the class