-click to document hides menu