This function hides the dock item.
Since version 3.6, when dock items are hidden they are not removed from the layout.
The dock item close button causes the panel to be hidden.
The dock item to hide.