[ZD#696706] refactor code and show alert for agent only content
Merge pull request #29 from zendesk/bhass/ZD696706

[ZD#696706] refactor code and show alert for private content