A United staff member came onboard and spoke to the passenger but the dog remained. Finally, somehow they located another seat for me. The dog stayed on my seat for the whole flight.