closes #70 Auto date when closed or cancel