created class TagsDialog extending DialogFragment.
Merge pull request #355 from brunodea/issue-1886

fix issue 1886 and created class TagsDialog