Cavan manager Mickey Graham says hard work, energy and commitment were vital to their win over Monaghan in the quarter-finals of the Ulster Senior Football Championship.