Bug 1023306 - Always dismiss edit mode when opening external URLs (r=margaret)