bug 1044125 - Only capture screenshot and show overlay when edge gesture...

...s are in use or task manager is used. r=alive
Sorry, please do this in the _closed hanlder in appTransitionController otherwise we will slow down the closing transition.