I reread and I see she is in a toddler bed , same thing applies , your wife takes her back if she comes out , and let her cry you know she is okay .
You are sitting by the doorshe knows you are there until you can let her cry and not lift her in and out of the crib you may be stuck with it, you are sending her mixed messages when consistancy is always the key .Let her cry I know thats hard but it is the only way, it does stop after a few nights ,if you are consistant if you are not she will go on for a few years ..Good Luck