Bug 839500; close identity iframe when not in use r=fabrice, r=benadida