made showLoadImageDialog() private.