Bug 1083053 - [Midori] The screenshot preview window still overlays an app when switching apps

I think that the better way to end the activity is to call the done() function like we do elsewhere in open.js. Assuming that works, please do it that way because it seems cleaner.