fix destroy-note function

the destroyed table was not up to date with the note table in the
sense that it was missing the 'tags' column. after that problem was
fixed, a new problem arose where destroy-note didnt know how to
handle the ui property of a note. that was solved by dissoc'ing ui
from the note map before inserting into the table