A Lie subgroup $H$ of a Lie group $G$ is defined to be an embedded submanifold of $G$ that is also a subgroup. The following exercise helps the reader in showing that every Lie subgroup is closed.
Let $G$ be a Lie group and $H$ a Lie subgroup.
(1) Let $\overline H$ be the closure of $H$ in $G$. Show that $\overline H$ is a subgroup in $G$.
(2) Show that each coset $Hx$ , $x\in\overline H$, is open and dense in $\overline H$.
(3) Show that $H=\overline H$, that is, every Lie subgroup is closed.
Using continuity of the multiplication map, (1) follows readily. Also, since for any fixed $x\in\overline H$, multiplication by $x$ is a diffeomorphism, (2) can be shown relatively easily too. However, I'm stuck at (3). Clearly I should be using (2) but I don't see how. Any hints?