Add a button to the dialog