This is interesting - most NPC's you can talk to via the dialogue system are invulnerable to damage, but I think ingot is the main exception. I'd have to second the notion of disabling attacking while in dialogue, since it doesn't seem intentional.