Fixing full page displaying in modal for Add Child.

Fixes #2350.