Cancelling editing of a note that has been updated by someone else does not restore the note contents
Steps to reproduce
- Edit a note by clicking the pencil icon
- Change the text to something else but do not click save
- On another tab, update the note to something else.
- On the original tab, an alert should be shown saying the note has been edited by someone else.
- Cancel editing
Notice that the note is restored to the original text upon editing and not the updated text from polling.