I never got it returned to my main, and yes, It's like DOS2, the companion who is the closest of the npc will be their target to start the conversation after the fight ends.