@Nonnull
	public NamePopup forClassCopy(@Nonnull ClassBundle<?> bundle) {
		titleProperty().bind(Lang.getBinding("dialog.title.copy-class"));
		output.textProperty().bind(Lang.getBinding("dialog.header.rename-class-error"));

		// Bind conflict property
		nameConflict.bind(nameInput.textProperty().map(bundle::containsKey));
		accept.disableProperty().bind(isIllegalValue.or(nameConflict));
		output.visibleProperty().bind(nameConflict);
		return this;
	}
@param bundle
		Target bundle the class will reside in.
		Used to check for name overlap.

@return Self.
recaf-ui/src/main/java/software/coley/recaf/ui/control/popup/NamePopup.java