modify datepicker to not close if date hasn't been selected