Calendar now closes on click and so forth