Fix #48. Use OPEN, CLOSE for DatePicker and DateTimePicker.