clear selection after editing tags