Dialog <-> Plugin Communication

Sending the input note contents and then receive it.

I think I already have an idea on how to get back the resulting note from here: How to get feedback (user input) from a dialog? - #8 by laurent

Still not sure if CodeMirror can act as a form though.

Regardless, I need a way to send in the 2 notes into the Webview. I don't think I can simply just hardcode them into the HTML as well..? As the DOM of CodeMirror is dynamically created?