When you've finished each of the necromancer's tasks, you'll be put back right where he snatched you from, so don't worry. Just a little detour.
I thought this was a pretty cool piece of Act 2 -- always good when a game can surprise you like that! And each task is a neat little story on its own.