Well, that's the way polling mode works. If you want to do "Define clientaction" on the server, change the client to Prompted mode to get the results you want. That's the big advantage to using Prompted mode.