Click anywhere outside the modal to close it