I have an application that is going to be used for field data collection and I have a spinner list that based on the selected item changes the values in some other input controls. What I would like to do is be able to prevent the change event from occurring and prompt the user with a 'are you sure you want to discard your edits' pop up. But, I cannot seem to find a way to do this. Any thoughts?