implement dialog for new tag