Dynamical dipole mode in heavy-ion fusion reactions