On the dynamics of continuous phase transitions