Added hideOnClick option when click on date