further to 1a6a72b57, handle deleting a note while a non-selected one is entered.