New law will allow dentists to vaccinate patients