Add optional event origin argument to load_tab_content fn