I am trying to find a young adult novel I remember fondly; the character is a teenage girl who is in trouble, rebellious or disobedient, and she is chosen to test a portal that has appeared. Adults going through the portal all go crazy. There is something about her mental state that allows her to sort out the strangeness and she makes contact with the aliens and becomes the ambassador. Something like that!