Dynamics of thermal Casimir-Polder forces on polar molecules