Removed unused imports in EditorFrame
Made EditorFrame dialog modal
Centred EditorFrame in the middle of the screen