anchor.diff:  		DivElement dropTarget = querySelector("#SellDropTarget");
   		Dropzone dropzone = new Dropzone(dropTarget, acceptor: new Acceptor.draggables([InvDragging._draggables]));
   		dropzone.onDrop.listen((DropzoneEvent dropEvent) {
  +			// TODO: fix this only getting called the first time
  +			// https://github.com/ChildrenOfUr/cou-issues/issues/279
  +			// print("dropped item");
   			spawnBuyDetails(JSON.decode(dropEvent.draggableElement.attributes['itemMap']), vendorMap['id'], sellMode:true);
   		});
   
  -		if(sellMode)
  +		if(sellMode) {
   			this.displayElement.querySelector('#SellTab').click();
  -		else
  +		} else {
   			this.displayElement.querySelector('#BuyTab').click();
  +		}
   		this.open();
   	}
   
  
positive.code: 		if(newNum < 1) newNum = 1;
  		if(newNum >= 99) newNum = 99;
  
  		if(sellMode)
  			newNum = min(newNum, getNumItems(item['itemType']));
  
  		buyNum.valueAsNumber = newNum;
  		int value = item['price'] * newNum;
  		if(sellMode)
  			value = (value * .7) ~/ 1;
  
  		if(sellMode)
  			buyButton.text = "Sell $newNum for $value\u20a1";
  		else
  			buyButton.text = "Buy $newNum for $value\u20a1";
  
  		return buyNum.valueAsNumber.toInt();
  	}
  
negative.code: 			bmax.cancel();
  
  			this.displayElement.querySelector('#buy-qty').hidden = true;
  			if(sellMode) {
  				sell.hidden = false;
  			} else {
  				buy.hidden = false;
  			}
  		});
  	}
  
  