ok and cancel in delete note dialog