Add parent to all dialogs.