adds dockwidget for scripting