changing text fields into datepickers in the goal manager