#21 - change functionality so calendar only appears when date field is selected