code: private void initCancelable() {
      if (!isCancelable) {
        return;
      }
      View view = rootView.findViewById(R.id.dialogplus_outmost_container);
      view.setOnTouchListener(onCancelableTouchListener);
    }
docs: It is called to set whether the dialog is cancellable by pressing back button or
  touching the black overlay