title: How to kill a CodeMirror instance?
body: <p>I'm using Codemirror v3.16 and I'm trying to figure out how I can kill an instance of my codemirror? Basically codemirror fires when a textarea opens in a modal on my page. Closing this modal, I need to kill the instance, else when I reopen the modal, I get two textareas. </p>
  
  <p>Can anyone help? </p>