Once she is back, she applies for your dependent H-4 visa, you got the I-797 approval receipt before returning, that is the key.