Background
Imagine there's a UI that contains a list of "talks". Each talk has fields such as "title", "speaker", and "description". Users can edit talks but have to explicitly save their changes (there is no autosave).
Scenario
In the following scenarios, a user edits a talk, then switches to editing another talk without saving the first talk. This triggers a prompt.
Scenario 1:
A user is editing a talk and clicks on another talk without saving their changes first.
Scenario 2:
A user is editing a talk and accidentally clicks on another talk before they got a chance to save their changes.
Prompts
I'm looking for the most user friendly prompt.
Option A
+-------------------------------+
| Save changes to current talk? |
| |
| [Cancel] [No] [Yes] |
+-------------------------------+
Option B
+------------------------------------------------+
| The talk you were editing has unsaved changes. |
| |
| [Save changes] [Discard changes] |
+------------------------------------------------+
Option C
+--------------------+
| Discard changes? |
| |
| [Discard] [Cancel] |
+--------------------+
Option D: Have a suggestion?