code: @Override
  	protected void paintComponent(final RenderContext renderContext) {
  		super.paintComponent(renderContext);
  
  		WComponent visibleDialog = getVisible();
  
  		if (visibleDialog != null) {
  			visibleDialog.paint(renderContext);
  		}
  	}
docs: Since none of the children are visible to standard processing, paintComponent has been overridden so that the
  visible card is painted.
  
  @param renderContext the RenderContext to paint to.