open tab by click