Note: This question was asked on MSE first, but got zero reactions. So I deleted it there, and am now posting it here.
I am looking for a reference or explanation of the fact that is used in Mumford's first paper on Enriques classification of surfaces in char p (page 328, Step IV and V), as well as in Badescu's book "Algebraic Surfaces" (Prop. 13.4 & Prop. 13.5).
The version of the statement in Step IV is:
Let $X$ be a minimal surface, and $D$ an effective divisor on X. If we know that $\text{Pic}^0X$ is an abelian variety (remember that in char p it might not be reduced), and that $\text{Pic}^0X \rightarrow \text{Pic}^0D$ is surjective, then we can conclude that $\text{Pic}^0D$ is also abelian. Why can we conclude that?