allow input date to be null this leads to an empty MDateBox field