automatic buttons on the dialog now