Method of the dosed application of a liquid onto a surface