Dynamics of molecule-surface interactions