still working on dialog box for children in the last pagerview