add method openTab