Add config & openTab events/handing