Closing unsaved document should discard all edits

I think there should be an option to undo changes, in right click asset menu, but close without saving wouldn’t work in unreal, unreal is not document application, it manages dependencies actively, which make updates to files based on other asset changes.