Handling relative urls in tabs.create