Two theorems on modifications of analytic spaces