Closing the pop-out's graphics context made OSG delete GL objects shared with the main window
(textures lose their CPU images after upload, so models came back black). Docking now hides the
window and reuses it; the window's close button docks instead of closing.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>