public InputOptions setInputChecker(final Predicate<String> inputChecker) {
            this.inputChecker = inputChecker;
            return this;
        }
if non-null, then ok button will only be clickable if given check is satisfied
main/src/main/java/cgeo/geocaching/ui/dialog/SimpleDialog.java