Make new DockItems in foreign layouts hidden on layout switch

Add a workaround to add hidden objects in other layouts.
If you add a new item in one layout, this item should not have any effect in other layouts.
Center some dialog box really on parent window
Convenience class MessageBox using MessageDialog a bit easier
New layout activate entry default