trigger an event when a state has been pushed (it still might not load)