The dead is referring to Jesus. If Jesus is not alive, why would anyone be baptised on His behalf?

Baptism is a testament to the crucifixion and resurrection of our LordJesusChrist