allow only 6 tabs to be opened