clears task form data when modal form is dismissed