A bit of testing indicates that possibly once it's hidden, the frame then won't receive the 'click' again to unhide.
Try using in your onclick:
Lua Code:
if pressed then -- if the mouse button is pressed while over the frame do the following
if self:GetAlpha() > 0 then -- checks to see if the alpha of the frame is greater than 0 (invisible)
self:SetAlpha(0) -- if so make it invisible
else
self:SetAlpha(1) -- otherwise make it fully visible, which should return it to the setting you set in the kgpanels config screens.
end
end
self here just means that it's referring to the frame that you are attaching the scripts to.
The parent frame alpha also effects the children frames, so this should hide all three.