You're reversing your characters.

DialogStartRequested(CHARACTER_NPC, _Player)
THEN
DialogStartTwoSpeakerDialog("BrewerBeth",CHARACTER_NPC,_Player);

Notice how the NPC comes first in both calls?

Yours:

DialogStartRequested(CHARACTER_Jack, CHARACTER_Boar)
THEN
DialogStartTwoSpeakerDialog("Test", CHARACTER_Boar,CHARACTER_Jack);

In the first on you reference Jack first, in the second one Jack is second. This is probably your error culprit.