fix save note bug - add alert dialog on delete note