remove task in modal