My wife's employer has told her that she will be laid off at the end of this month. She is on H1 and we want to get her back on H4 visa. If we file for H4 immediately and she is laid off on 31st July will she go out of status? What is the rule regarding this?