cancel current upload when cancel document edition