Fix dialog buttons