code: function() {
  		var openPopouts = [], i;
  
  		for( i = 0; i < this.openPopouts.length; i++ ) {
  			if( this.openPopouts[ i ].getWindow().closed === false ) {
  				openPopouts.push( this.openPopouts[ i ] );
  			} else {
  				this.emit( 'windowClosed', this.openPopouts[ i ] );
  			}
  		}
  
  		if( this.openPopouts.length !== openPopouts.length ) {
  			this.emit( 'stateChanged' );
  			this.openPopouts = openPopouts;
  		}
  
  	}
docs: Iterates through the array of open popout windows and removes the ones
  that are effectively closed. This is necessary due to the lack of reliably
  listening for window.close / unload events in a cross browser compatible fashion.
  
  @packagePrivate
  
  @returns {void}