Popup with page include works fine in preview, but fails in normal use

Update: I got this to work using different syntax in the visual force page.

The incorrect syntax I had previously was:

<apex:page standardController=“CustomObject__c”>
<skuid:page page=“PageName”/>
</apex:page>

The correct syntax which worked is:

<apex:page action=“{!redirect}&page=PageName” extensions=“skuid.Redirects” standardController=“CustomObject__c”>
</apex:page>