refacto, directive edit section

no need for !scope.options.onCancel ||