This should be easy.
It already selects a tile (randomly)
It tests whether the spot is valid
if so
It generates a forest there.
All you'd have to do is run the same code, but on a user defined spot instead of a random spot, ne?
I considered coding it, but don't know the lua well...