refactor: tabs functionality in DiagramDesignerWidget