added actions for tab state and example of load