There are nearly 1 million Americans who visit the emergency room each year because of dental pain at a cost that runs into the hundreds of millions.