Could you avoid these overrides if the HTML defined only a single button and you localized the button text when you localized the overlay title?  That would be cleaner and less brittle than overriding confirm.css.