Dipole moments in excited state DFT calculations