When a modal is open, if you shover over the overlay, your cursor turns into an X, but if you click, nothing happens. Now if you click, the modal closes.