attempt to resolve bug #44 Showing nonexistent "New Tabs" open with incorrect total by checking the open tabs when the popup window is displayed