Dolan marks Cup day with winning treble