Burnley boss Sean Dyche admits "he went as far as he could" to try and persuade new Watford signing Andre Gray to remain at the club.