Adding a few override functions here to handle when the modal is open