i found the problem, it turns out i was just dumb.
since my character is not allowed to move it stays in the interaction area of the object it is interacting, so in the same click that stops the interaction, it is immediately restarted, pausing the game once more, hence the print command working all the while the game is still paused and the textbox still visible