Only cancel request after modifications are saved