I don’t know how she did the X on the hand thing. But for the switched cards in mouth thing, she changed his signed card for a presigned card by her (sleight of hand). Then she just swapped out the newly signed card by her for his (sleight of hand) before folding it and putting it in her mouth.