Hide datepickers if custom is closed