From Demonstration to Dynamic Interaction: Enabling Long-Term Robotic Planning