Fix some issues and quote consistency

- Fix an issue when a note was added the span with the note-form class would be removed and never get re-added. This left the form displayed with the previous values.