Create a trigger for when a note is created or modified