[BUG #8827] unregister anchor class after popup