Method soap is the example of a better soap dispenser like you say. It doesn't work on everything but it had the uniqueness that it was made with natural ingredients, so much that you could drink it, which the founders did to demonstrate that fact.
I used Method foaming hand soap for a while. I probably went through about 10 bottles, and I'd say at least half of the dispensers started experiencing pumping issues before they were empty. So, in my experience, they were actually the worst soap dispensers I ever purchased.
The soap was great. However, I don't know how much of that was the soap itself and how much was simply the experience of using foaming soap compared to liquid soap for washing my hands. If the dispensers actually worked, I would have kept buying it.