I was out walking one day and the very same happened to me. I said to the owners, a young (by my standards) couple, 'thanks very much, I really appreciated that', to which the response from the male half was 'It's what dogs do'. He will never know how close he came to having his nose on the back...