Keeping Arizona franchise slugger Paul Goldschmidt in the ballpark and off the bases was the key to the Dodgers hanging on for a 4-3 win over the D-backs on Sunday that trimmed their Magic Number to 13.