code: private void initializeProgressDialog() {
          ProgressDialog.Builder builder = new ProgressDialog.Builder(getActivity());
          configureHeaderDialogBuilder(builder);
          configureButtonBarDialogBuilder(builder);
          progressDialog = builder.create();
      }
docs: Initializes the progress dialog.