Not calling the server if the tab doesnt have a url