Inserting dielectric into capacitors