Fixed styling of buttons on modal dialog boxes [tracker #1560]