Bug 1039452 - Wait for the composition window to be focused before poping up menu. r=Standard8 CLOSED TREE