add positive button for alert dialog.