Tab implementation in the popups