adding a confirm dialog so notes are not deleted accidently