Do domestic dogs understand human actions as goal-directed?

Do domestic dogs understand human actions as goal-directed?