update dockpanel so that it uses a nested stackpanel inside another