docs(guide/directive): rephrase for consistency

- rephrase _prop_ to _attr_ (basically _prop_ refers to property in JS object, _attr_ is for HTML tag and also _attr_ is used in _directive_ api doc)
- change the function name in description to `hideDialog` to match the name in code example