A dog runs along a beach near the waves .