Updated datepicker widget to allow for past dates selection.