update DockPanel to use a DockItem as content instead of a raw widget
call the activate and deactivate dock item methods as needed