It's pretty annoying, it has happened to me a few times as well. A pop-up asking for confirmation would be justified in this case.

The second bug has been reported before, apparently clicking on the NPC with the tool bench triggers a conversation with an entirely different NPC.