Gracefully handle deletion of currently edited note.