Fix dialogue buttons being messed up (with hacks)