first pass at integrating new lex editor into UI: made as a popup from the new View menu