working tag tree with automatic focus updating for dynamic filtering