private void accept(@Nonnull List<T> selectedItems, @Nonnull Consumer<List<T>> consumer) {
		CompletableFuture.runAsync(() -> consumer.accept(selectedItems));
		hide();
	}
@param selectedItems
		Selected items to accept selection of.
@param consumer
		Action to run on accept.
recaf-ui/src/main/java/software/coley/recaf/ui/control/popup/SelectionPopup.java