doc(directive): Fix typos in dialog widget

Fixes #1799