Core: Window::_inited() event. Added default focus on dialogs