Add/Edit Note implementation