Wakefield coach Richard Agar admitted his side "did a lot of things right" in their 28-26 win over Widnes at the Stobart Stadium Halton.