// How about special method for main window?
var mainWindow = WindowManager.RegisterMainWindow(() => new WindowModule(new MainWindow(), new MainWindowViewModel()));
// OR
var mainWindow = WindowManager.RegisterMainWindow<MainWindow>();
// THEN
var mainWindow = WindowManager.RetrieveMainWindow(); // always same instance if open