I have a scenario where under a certain situation the update request could take up to 10 seconds to complete. In this situation I want to display a Busy Dialog, so the user knows that something is happening and doesn't try to do something else. I have successfully coded this process and it works perfectly. The problem I now have is that every subsequent gateway call also displays the Busy Dialog.
How can I remove the request sent event from future gateway calls? I have tried using the detach request sent function unsuccessfully.
I am using the V2.odata model. My code to attach the request sent event is :

Thanks
Darryl Mee