Refactoring: made tag editor reusable across Details & Batch popup