Here is my button which triggers the popup:
Code:
<input type="submit" id="editPatientBtn" name="_eventId_editPatient" value="Patient Info" class="smallbutton"/>
    <script type="text/javascript">
        Spring.addDecoration(new Spring.AjaxEventDecoration({
            formId: "list",
            elementId: "editPatientBtn",
            event: "onclick"
        }));
    </script>
Here are is the relevant webflow defintions:
Code:
<view-state id="scheduling" model="scheduling">
    ....
    <transition on="editPatient" to="patientInfo">
        <render fragments="patient.info.entry"/>
    </transition>
    ....
</view-state>

<view-state id="patientInfo" model="patient" popup="true" view="patientInfoDetails">
....
</view-state>
The popup displays as expected and everything is working from that perspective. However when I submit my form it then brings me to another page with my popup now as entire html page with an execution url similar to the following:
Code:
...?execution=e1s6&_eventId_editPatient=_eventId_editPatient&ajaxSource=editPatientBtn
This URL is coming from the AJAX request when clicking my edit patient button. So what is happening ?

Tracking the request and responses in firebug I noticed a strange thing happening. I see the POST for my edit patient Ajax request but there is no response. Right after the POST I see a GET for the URL I showed above with a response that I would have expected to be in the Ajax POST. This GET URL is used as the URL to POST to for my popup form, which is incorrect.

Has anyone ran into this before ? Why is there no response loaded for my Ajax request when it's rendering a popup ? Shouldn't it just render the view and load that as the response for the popup? If I put action="${flowExecutionUrl}" in the form of my popup then I do not have this issue, which to say I have a workaround currently. But maybe I'm doing something wrong ?