showAddFunc vs showModifyFunc for directives. typos -_-