As the Dock is not an actual location to store files, more like a place to put aliases onto (alias = shortcut), you can't actually save something to the Dock.
But the folder you dragged onto the Dock is still in the place you dragged it from, therefore using the SAVE dialog should allow you to navigate to the actual location of the folder, which is NOT the Dock.