Fix for bad dialog buttons