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