Revert "use menu item descriptor to close a tab, when the close button is clicked"

This reverts commit 3b2e085a73704f4de93b228d050580b6acfaa262.