Teaching Models to Balance Resisting and Accepting Persuasion