Open links in new tabs, tolerate empty tab list

Firebase does not store empty nodes, so if you can somehow manage to
remove all your tabs, this will cause {id} = {online: false} and so
data.tabs will be undefined, so you can't iterate over it.