Space Station 13 - Nebula13 - Modules - Types

code/datums/browser.dm

/proc/oncloseRegisters the on-close verb for a browse window (client/verb/.windowclose) this will be called when the close-button of a window is pressed.