added caption reset on example change