code: private String getDialogId(VaadinRequest request) {
  
          String path = request.getPathInfo();
          // remove the leading slash
          return path != null ? path.substring(1) : null;
      }
docs: Returns the dialog id extracted from the requested path.<p>
  
  @param request the request
  
  @return the id