adding reset button to codeExamples, allow codeExample to be edited