Trevor Zegras tipped in the eventual game-winning goal midway through the third and John Gibson delivered a solid performance with 26 saves as the Anaheim Ducks edged the Dallas Stars 2-1.