fix delete note dialog