Can you subscribe to FeatureLayer.EndSaveEdits and SaveEditsFailed event? Do you get any error? You can run Fiddler to see monitor the web requests.
You are right that the code-behind snippet is not necessary, the buttons will activate on click because of the command binding. This code may also be the reason you are getting a cancel action. Activating a command (by click or code) will cancel previous command.