this.validateAndSave(model)
                .then(function() {
                    self.onSuccess();
                    self.close();
                }, function(errorResponse) {