Dock Widgets: Naming a dock widget

I recently started experimenting with plugins again and after reaching dock widgets, I got stuck at the fact that I can’t change the name of the top-bar of my dock widget

Aim

I want to be able to change the name of the top-bar and bottom-button of my own dock widget

Problem

In the red boxes are highlighted the top-bar and the bottom-button, the boxes of which I want to be able to change the text. At its side is the Roblox Properties widget, which has a named toolbar and button

I want to be able to change these to my liking, but so far after looking at the properties for DockWidgetPluginGui and PluginGui I see no way to be able to achieve this and need help to solve this.

I appreciate any all help from anyone, any guesses or concepts are worth the shot.

All you need to is add
widget.Title = "Whatever name you want"

Thank you, can’t believe I missed that in the Wiki