Called when an Overlay is about to be destroyed.
Usually this corresponds to the EditorWindow in which this Overlay resides closing.