added creation of new tab in new windows