G unconditionally transfers control out of the Dial application, so nothing after Dial will get run, if the call is answered. As you haven’t got a g option, that doesn’t differ from normal use of Dial, as the normal behaviour would also not run anything after Dial.
The two legs are separate, so there is no connection between them and one hanging up will not hang up the other. Both are having the music played independently.