only use one button at the dialog

Change-Id: I1e563d3f5e81b499e77bad1c8cf957d937263bab