How to leave full screen authorisation overlay (iOS)


We have a website that users typically pin to their homescreen as a chrome-less “web app” so there are no browser controls.

We use the twitter widget to show tweets and if someone wants to tweet within the widget it will get them to log in first using a full-screen overlay. However, if they decide they don’t want to do that how can they close the login dialogue and return to the app?