I had accidentally interacted with an NPC while still interacting with the notebook in the beginning, so both were writing to the dialogue box at the same time resulting in a bunch of gobbledygook
That's interesting. Does that mean you managed to walk up the NPC without leaving the dialogue?