Allow setting maximum date for date picker