Dogs learn how to stay attentive to their owners, even in close proximity to each other