The Owner that is used in the LuiMessagbox is propagated down through all Views, so every View (or ViewModel) needs a Property to store and forward this Owner.
Change it, so that only the LuiMessagbox needs to get the Owner (e.g. a static App class, where the Hosting Window registers itself, or a Dictionary<string,Window> so one kann provide a ID with that the LuiMessagbox can look for a Window, ...)
The Owner that is used in the LuiMessagbox is propagated down through all Views, so every View (or ViewModel) needs a Property to store and forward this Owner.
Change it, so that only the LuiMessagbox needs to get the Owner (e.g. a static App class, where the Hosting Window registers itself, or a Dictionary<string,Window> so one kann provide a ID with that the LuiMessagbox can look for a Window, ...)