what happens to adopted child in divorce