It's what toolbuttons that spawn a menu usually do. Also lets you do the "press, move to menu item, release" dance. (cherry picked from commit 18f37f92)