I have a parent page containing a list of it's children. When you click on one of the children the page opens up in a modal box trough ajax. So far so good.
But if i directly load the page through the url (parent/child) i get the child page. Is there a way of loading the parent page instead with the child page opened inside the modal box? I was first thinking of using URLSegments so it would load the parent page with the child name as segment however since the segment is an actual page it will load the page instead.
Any ideas?