Sean Dyche says it was an ugly game but was delighted his side kept going - snatching a late winner against Stoke.