Yes, exactly. Dry ice is nothing more than frozen carbon dioxide. When it sublimates ("melts") it turns in to CO2 gas. This is what will carbonate the rootbeer. You need to cover it to keep the carbon dioxide in.
After it is done you should be able to bottle it without any problems. The...