code: function() {
  		if( this.config.settings.closePopoutsOnUnload === true ) {
  			for( var i = 0; i < this.openPopouts.length; i++ ) {
  				this.openPopouts[ i ].close();
  			}
  		}
  	}
docs: Called when the window is closed or the user navigates away
  from the page
  
  @returns {void}