revert task modal finish