"Save", "Discard" (or "Don't save"), and "Cancel", where "Cancel" does not dismiss the editor.
(This is the three-button close prompt that's been the standard in desktop operating systems since at least the Windows 3.1 era, but I guess we have to rediscover these things when the same problems come up on mobile.)