fixed button placement for centre in dialog.