Support double-clicking pop-up menu items to select and insert