Adds a parent to the dialog