Where do you buy your magnets? Just fix one of these to the underside of counter, recessed if need\want to… “It has a pull force of 60kg.”
Or, find the one that fits into the base, and start keeping the dispenser on a metal surface instead… actually, grab two of them and one in the base, one under the counter and then it’s relocatable too!