A dog owner in Darwin has recounted the scary moment her pup came face-to-face with a crocodile lurking close to the edge of the beach.