Justin Edinburgh's side grew in confidence after a poor start and perhaps could have been more than a goal to the good at the break. Robbie Willmott volleyed over and Jolley was denied by a terrific save from Chris Lewington.
But the Daggers were a side transformed in the second period, it was almost a total role-reversal. Newport missed several chances, Lee Minshull the worst culprit, but the hosts were the dominant side.
And captain Ogogo swept home with 20 minutes remaining after a fine move started by debutant Zavon Hines.
They saw chance after chance go begging, defender Andrew Hughes cleared off the line magnificently at the death to deny substitute Afolabi Obafemi.