Add nonce checks for prepreview setup