code: @Override
  	protected void preparePaintComponent(final Request request) {
  		super.preparePaintComponent(request);
  
  		WComponent visibleDialog = getVisible();
  
  		if (visibleDialog != null) {
  			visibleDialog.preparePaint(request);
  		}
  	}
docs: Since none of the children are visible to standard processing, preparePaintComponent has been overridden so that
  the visible card is prepared.
  
  @param request the request being responded to.