1. I wish for a chance to try it.
I always thought "to try it" modifies "a chance". Together they make a noun phrase. But someone argues that "to try it" can be a clause-level adjunct, ie adjunct, because it can be fronted:
2. To try it, I wish for a chance.
I think even if sentence （2） works, there is a discernable difference in meaning, what do you think? And how would you parse "to try it"？