codemirror now works in sourcedialog when editor is in framed mode (fixes #61)