Add dockwidgets example - probably will want to use this instead of layout for greater flexibility.