public void setOnDismissListener(final DialogInterface.OnDismissListener dismissListener) {
        this.dismissListener = dismissListener;
    }
progress dialog wrapper for easier management of resources
main/src/main/java/cgeo/geocaching/activity/Progress.java