Studies have shown how dogs alter group behaviour