QUOTE(xheartonfire43x @ 6 Jul, 2009 - 09:19 AM)

So I found out that ColdFusion's CFWindow and other Ajax layout tags will always do this. That is just the way they work. The way that I fixed it was to put the form submission at the top of the page and do it that way.
I use cfwindow quite a bit in my development and if I understand what it is you are trying to accomplish, perhaps using this concept might work for you. I will try to explain how it is I use cfwindow and perhaps you can take the concept and mold it into yours.
Keep all your code/process on a single .cfm page and break it up with <cfelseif IsDefined> sections. By using this process, I was able to keep an entire operation functioning within a <cfwindow>. If you need to do a second process, add a <cfelseif IsDefined> that contains the exact code as when they first started. Then when they proceed from this point, it would be as if they were starting all over again.
Like I said if I understand what it is your are trying to accomplish, this might get you on the right track with <cfwindow>. This is how I have worked around the quirkyness of <cfwindow>.
Leonard
Something like this.
CODE
<cfif IsDefined('form.btn_whatever')>
<!--- Code / content here --->
<cfelseif IsDefined('form.btn_whatever')>
<!--- Code / content here --->
<cfelseif IsDefined('form.btn_whatever')>
<!--- To escape db functions/activity, I escape
the process with a <cflocation> tag like such.--->
<cflocation url="this_doc.cfm?ops_status=Successful" addtoken="no">
<cfelseif IsDefined('url.ops_status') AND Trim(url.ops_status) eq "Successful">
<!--- Then finish off with things --->
<cfelse>
<!--- Start content here --->
</cfif>