Bug 1099390 - add reason to onClosed event, r=aosmond,bz