When should I seek a legal opinion for custody?