Fix not hiding float and close buttons in dockwidget
Remove crutches for hiding float and close buttons in dockwidget