Reply to onDisappear (or similar) for macOS Settings/Preferences screen facing this exact problem on macOS 14. it seems to be fixed on macOS 15 but i would like this to work on 14 as well. is there any way to still know that a Settings SwiftUI view is being closed on macOS 14? UI Frameworks SwiftUI Oct ’24