Fix dialog boxes