What Im sure of is that Naruto threw himself and kakashi, while kakashi absorbed the eight tails into the alternate dimension.
What Im not sure of is whether or not Kakashi left behind one of the eight-tail's tentacles to fool the enemy in thinking the rest of the body had been annihilated.