Homestyx hydra

R1:a4a948561283

Hide dropdown menus when users click workflow items

Summary:
In D16157, dropdown menus got an overly-broad check for not closing when an item is clicked.

Specifically, we don't want to close the menu if the item is really opening a submenu, like "Edit Related Objects..." does on mobile.

The check for this is too broad, and also doesn't close the menu if the item has workflow.

Instead, use a narrower check.

Test Plan:
- Menu still stays open when toggling submenus like "Edit Related Objects".
Repository: R1 hydra
Commit Date: Jan 16 2017