The WinClosed event:Fires:When closing a window, just before it is removed from the window layout.Fires After Event(s):WinLeaveNotes:The pattern is matched against the window-ID.Both <amatch> and <afile> are set to the window-ID.