public static boolean confirm() {
		WidgetChild button = getChild(CONFIRM_BUTTON);
		final Item it = getItem(getCurrentIndex());
		final int count, amount;
		return it != null && canConfirm() && visible(button) && (count = it.getStackSize()) != 0
				&& (amount = getAmount()) != 0 && button.click(true) && new TimedCondition(2000) {
					@Override
					public boolean isDone() {
						return it.getStackSize() == count - amount;
					}
				}.waitStop();
	}