Dissipative Quantum Electromagnetics