Close calendar when clicking out of it