I am giving a different proof of the one you have since I believe is not complete and that is why you don´t get it. You must already know the Maximum Principle (not modulus), in case you don´t here it is:
Maximum principle If $f: G \to \mathbb{C}$ is a non-constant holomorphic function in a region $G$, then $|f|$ has no maximum in $G$.
A proof of this can be easily obtained as a corollary of the Open mapping theorem.
Minimum Modulus principle If $f$ is a non-constant holomorphic function a bounded region $G$ and continuous on $\overline{G}$, then either $f$ has a zero in $G$ or $|f|$ assumes its minimum value on $\partial G$.
Proof:
I) Lets assume first that $f$ has no zeros in $\overline{G}$, then of course $1/f$ is holomorphic in $G$ and continuous in $\overline{G}$. Thus, by the Maximum Principle above $|1/f|$ attains its maximum in $\partial G$, that is there exist $a \in \partial G$ such that
$$
\left| \frac{1}{f(z)} \right| \leq \left| \frac{1}{f(a)} \right| \ \forall \ z \in \overline{G}
$$
So indeed for all $z \in \overline{G}$, $|f(a)|\leq |f(z)|$, thus $|f|$ assumes its minimum value in $a \in \partial G$.
II) On the other side, if $|f|$ does not assumes its minimum value on $ \in \partial G$, then there exist $b \in G$ such that
$$
|f(b)| \leq |f(z)| \ \forall \ z \in G
$$
Lets prove that $f(b)$ must be $0$. Assume not, then
$$
\left| \frac{1}{f(z)} \right| \leq \left| \frac{1}{f(b)} \right| \ \forall \ z \in G
$$
but since $b \not\in \partial G$, the Maximum Principle gives that $f$ must be constant (since the maximum is not attained at the boundary) a contradiction. Thus since supposing that $f(b)\neq 0$ implies that $f$ must be constant, then since $f$ is non-constant by hypothesis we can conclude that $f(b)=0$.
It follows now from I) and II) that either $f$ has a zero $b \in G$ or $|f|$ assumes its minimum value on $a \in \partial G$. $\blacksquare$