Close a dock when opening another - detect when a dock is open?

its in the view.custom, not on the markdown


image
image

oh i did copy some random xx custom prop on the markdown, that does nothing, ill edit it out to avoid confusion