code: @Override
  	public void remove(final WComponent aChild) {
  		super.remove(aChild);
  		PanelModel model = getOrCreateComponentModel();
  
  		if (model.layoutConstraints == null) {
  			Map<WComponent, Serializable> defaultConstraints = ((PanelModel) getDefaultModel()).layoutConstraints;
  
  			if (defaultConstraints != null) {
  				model.layoutConstraints = new HashMap<>(defaultConstraints);
  			}
  		}
  
  		if (model.layoutConstraints != null) {
  			model.layoutConstraints.remove(aChild);
  
  			// Deallocate constraints list if possible, to reduce session size.
  			if (model.layoutConstraints.isEmpty()) {
  				model.layoutConstraints = null;
  			}
  		}
  	}
docs: Removes the given component from this component's list of children. This method has been overriden to remove any
  associated layout constraints.
  
  @param aChild the child component to remove