Adds confirm dialog for note deletion