testing codemirror for the sourcedialog plugin