Adds tabs to the window