fix bug 1056933 - Move close-button to first tab element in submenus, focus it when menu opens

Just putting this here for someone else to pick up or finish down the road.  Still need to test the wiki menus.

https://bugzilla.mozilla.org/show_bug.cgi?id=1056933