hide calendar when date is picked