public void confirm(final Runnable positive, final Runnable negative) {
        //"confirm" always needs at least "OK" and "cancel"
        if (positiveButton == null) {
            setPositiveButton(TextParam.id(R.string.ok));
        }
        if (negativeButton == null) {
            setNegativeButton(TextParam.id(R.string.cancel));
        }
        showInternal(positive, negative);
    }
Use this method to create and display a 'confirmation' dialog using the data defined before using this classes' setters
<p>
A confirm dialog always has at least a positive action and shows at least a positive and a negative button.
Provide up to two listeners to define actions for 'positive' and 'negative'.
main/src/main/java/cgeo/geocaching/ui/dialog/SimpleDialog.java