How to Reproduce:
1. Open the attached "IN-148409" project
2. From Assets, Open "InputSystem_Actions"
3. From the opened "Input Action Editor" select "Move"
4. Under "Action Properties" change "Action Type" from "Value" to "Button"
5. Try to close Unity Editor without saving or closing the "Input Action Editor"
6. From the "Input Action Asset has been modified" warning pop-up, click "Cancel"
Actual Result: Unity Editor closes
Expected Result: Unity Editor does not close
Reproducible with: 1.8.1 (6000.0.0f1), 1.19.0 (6000.0.0f1, 6000.7.0a3)
Reproducible on: Windows 11
Not reproducible on: No other environments tested