fixing datepicker stuff
Added validation for date fields on add sample page
Merge pull request #304 from meganap/agut_issue_289

fixing datepicker stuff