When you open the app and a document from the file chooser, then press back the app closes which is unexpected. @TomTasche pointed out that this is the right behavior when someone opened a file from an external app. But when opening a file within our app this is rather unexpected.