bug 1027414 - Dismiss on visibilitychange r=alive (on behalf of 21)