Jealous boy

We wanted to get a rescue Aussie for a companion to our boy Loki. When we took Loki to meet him, Loki would jump in between us any time we’d try to pet or give any attention to the other dog. Ultimately we decided not to get the dog. I was a disappointed. Have any of you who have two had to deal with this jealous behavior? What did you do? TIA

We wanted to get a rescue Aussie for a companion to our boy Loki. When we took Loki to meet him, Loki would jump in between us any time we’d try to pet or give any attention to the other dog. Ultimately we decided not to get the dog. I was a disappointed. Have any of you who have two had to deal with this jealous behavior? What did you do? TIA