Found the problem. Apparently I overrided the behavior because I used a method name know to XButtonBox (accept()). Once I changed that, everything work fine.