listen for major tab events