Let $ABC$ be a triangle and let $D$ be a point on side $BC$. Show that the incircles of triangles $ABD$ and $ACD$ touch each other if and only if $D$ is the point of contact of the incircle of triangle $ABC$ with $BC$.
I tried some trigonometry but no success. Sides chasing didn't help either. Thanks.