Edit a field, then click a nav link. Then try typing a change and putting the original value back.
Dirty state is a real comparison against the loaded values — retyping the original clears it. The dialog offers three choices, because two would force you to pick between losing work and being stuck.