830674 Closing the last tab of the browser, enabling close button for all tabs

https://bugzilla.mozilla.org/show_bug.cgi?id=830674