added ability to set date with controls