code: @Override
  	public void handleRequest(final Request request) {
  		// Can only be an active DIALOG if it is AJAX targetted.
  		if (isAjaxTargeted()) {
  			if (getState() == INACTIVE_STATE) {
  				handleTriggerOpenAction(request);
  			}
  			getOrCreateComponentModel().state = ACTIVE_STATE;
  		} else if (getState() != INACTIVE_STATE) {
  			getOrCreateComponentModel().state = INACTIVE_STATE;
  		}
  	}
docs: Override handleRequest in order to perform processing specific to this component.
  
  @param request the request being responded to.