code: public DialogWrapper getDialogWrapper(Dialog d) {
      	if (d == null) {
      		return null;
      	}
      	DialogWrapper dw = null;
      	DialogWrapperAppData dwad = (DialogWrapperAppData) d.getApplicationData();
      	if (dwad != null) {
      		dw = dwad.getDialogWrapper(d, this);
      	}
  		return dw;
  	}
docs: Retrieves the wrapper associated with a dialog, recreating if needed in a cluster env.
  @param d
  @return