Independent EditorComponent

Now we have independent EditorComponent (it don't use NotepadWindow)
plus repair New Dialog bug