Dog finds a way to help himself to some treats