code: private void initializeAlertDialog() {
          MaterialDialog.Builder builder = new MaterialDialog.Builder(getActivity());
          configureHeaderDialogBuilder(builder);
          configureButtonBarDialogBuilder(builder);
          alertDialog = builder.create();
      }
docs: Initializes the alert dialog.