code: protected Component newContent(final String contentId, final IModel<T> model)
  	{
  		return new BaseModalPanel<T>(contentId, model)
  		{
  			/**
  			 * The serialVersionUID.
  			 */
  			private static final long serialVersionUID = 1L;
  
  			/**
  			 * {@inheritDoc}
  			 */
  			@Override
  			protected void onCancel(final AjaxRequestTarget target)
  			{
  				BaseModalWindow.this.onCancel(target);
  			}
  
  			/**
  			 * {@inheritDoc}
  			 */
  			@Override
  			protected void onSelect(final AjaxRequestTarget target, final T object)
  			{
  				BaseModalWindow.this.onSelect(target, object);
  			}
  		};
  	}
docs: Factory method for create the new {@link Component} for the content. This method is invoked
  in the constructor from the derived classes and can be overridden so users can provide their
  own version of a new {@link Component} for the content.
  
  @param contentId
  the content id
  @param model
  the model
  @return the new {@link Component} for the content.