I had a discussion with my mate in which he claimed that the verb in the sentence modifies the subject (You) but I'm convinced it actually modifies the noun (Wish).
Verbs don't modify things, they are modified by adverbs.
Verbs can take complements of several types, such as predicate nominatives, subject complements, objects, and other things and they require a subject unless they are infinitives or gerunds (in which case they work like nouns and still don't modify things). Verbs also need a subject. But the relationship between these things and the verb isn't really "modify" - what modifiers do is answer the question "what kind" (NOT just "what") or "how/how many/how often", not provide required information or "parameters".
The same goes to you
The verb here is go, and go's subject is the same.
Same is a word that can point to a singular or plural noun.
I bought two packs of red candies and gave them to Mary. I gave the same to Michael yesterday. The same are (plural) supposed to go to Johnny.
I bought one pack of red candy and gave it to Mary. I gave the same to Michael yesterday. The same is (plural) supposed to go to Johnny.
I think technically what is happening is the same thing as if you turn an adjective into a noun, similar to the following example.
I found red and blue dishes out everywhere in the robbed house, and all the red were broken.
Notice here we did not say the reds.