now the max date is embbeded in the date picker widget