working editor that gets dynamically loaded