code: protected AjaxButton newCancelButton(final String id, final Form<?> form)
  	{
  		final AjaxButton cancelButton = new AjaxButton(id, form)
  		{
  			/**
  			 * The serialVersionUID.
  			 */
  			private static final long serialVersionUID = 1L;
  
  			/**
  			 * {@inheritDoc}
  			 */
  			@Override
  			protected void onSubmit(final AjaxRequestTarget target, final Form<?> form)
  			{
  				onCancel(target, form);
  			}
  		};
  		return cancelButton;
  	}
docs: Factory method for creating a new cancel {@link AjaxButton}. This method is invoked in the
  constructor from the derived classes and can be overridden so users can provide their own
  version of a cancel {@link AjaxButton}.
  
  @param id
  the id
  @param form
  the form
  @return the new {@link AjaxButton}