code: private void detachDecorators(@NonNull final DialogRootView rootView) {
          for (AbstractDecorator<?, ?> decorator : decorators) {
              decorator.detach();
              decorator.removeAreaListener(rootView);
          }
      }
docs: Detaches all registered decorators from the dialog.
  
  @param rootView
  The root view of the dialog as an instance of the class {@link DialogRootView}. The
  root view may not be null