code: function (target) {
  		var tab = this.resolveTab(target,'removeTab');
  		var tabData = {
  			index:   tab.tabIndex,
  			caption: tab.content,
  			tooltipMsg: tab.tooltipMsg,
  			userId:  tab.userId,
  			data:    tab.userData
  		} ;
  		var that = this ;
  		if (tab) {
  			tabData.next = function (err) {
  				if (err) { throw new Error(err);   }
  				else     { that.removeTab(target); }
  			} ;
  			this.doTabRemoveRequested( tabData ) ;
  		}
  	}
docs: Request to remove a tab from the tab bar. This is a bit
  like removeTab, except that a onTabRemoveRequested event is
  fired to let the application the possibility to cancel the
  request.
  
  @public