Operative approach to quantum electrodynamics in dispersive dielectric objects based on a polarization-mode expansion