Fixed positioning of buttons in dialog.