Can someone take a look at this file and clue me in on why the Add a Note [+} script isn't functioning correctly? I can't get the Notes portal to select the correct row to add a new note. It just doesn't do anything and then takes you to the first tab or sometimes it doesn't do anything. It does generate a new note, but it doesn't take you to a portal row to enter the note text.
It must be something small. I've been over it a thousand times and a fresh pair of eyes may help catch the mistake I'm making. Thank you so much!