add confirmation alert when a note is added