Researchers show how free-ranging dogs modify their behaviour and personalities based on our presence in urban areas.