1.if the H1 holder switches jobs, the dependant H4 is still considered to be in status till the H4's I-94 expires
2.if the H1 holder and the dependant travel to canada and get stamped based on the new I-797 and return to US then they are considered to be in status assuming this is done before both the H1 and H4 I-94 dates expire