The spec says:

1. Launching an application while offline

"Upon tapping cancel or pressing the Home hardware button, the application is exited and the user is returned to the App grid."

2. Application requests a top level page load while offline

"Upon tapping Cancel, the user is returned to the page from which the network request was made."