Dynamics and Cortical interactions during selective behaviors