remove old codemirror.
resizable modal.
file stuff.