Here is the sentence:
When Wesley knocked the baseball into the stands, the fans cheered the homerun.
Good answer! Notice that a subordinate clause introduces a main clause. Since each clause has its own subject and verb, no misplaced or dangling modifier exists.