Let $X$ be a smooth projective variety (in particular irreducible) and $U\subset X$ (Zariski-)open, so again smooth as a variety. Let $f\colon U\rightarrow U$ be a smooth map of varieties and denote with $\Gamma_f\subset U\times U$ the graph subvariety (which is again a smooth variety). Consider $\Gamma_f$ as a locally closed subvariety of $X\times X$.
Is it true that the closure $\overline{\Gamma_f}$ of $\Gamma_f$ in $X\times X$ is a smooth variety? If not in gerneral, do any assumptions on $f$ or $X$ help?
If one takes for example a map $\mathbb{A}^1\rightarrow\mathbb{A^1}$, this question (is the projective closure of a smooth variety still smooth) suggests that nothing like this was to expect for closures in $\mathbb{P}^2$ - still I would hope that things turn out a bit differently for the closure in $\mathbb{P}^1\times\mathbb{P}^1 $.
Thanks in advance for any hints!