Haha, ger. I appreciate the effort, and normally that would be fine, but since my Inventory doesn't have a titlebar, WC_CloseButton is hidden and being pressed by a visible fake close button.
I prefer to press q hidden default button rather than setting visibile=false when possibile. Less chance of breakage if they change how close works