Yeah like i said. Sometimes the var calls can be tricky.
If i were you i'd probably try to replace the dialog box with something visible. I usually use characteraddabilitypoint i think its called. That way you can diagnose where the problem is. If you see it adding ability points you know its triggering properly and the problem lies with the dialog. If it doesnt add ability points then you know the trigger is wonky haha