Why isn't the animation selecting a skeleton?

When I import an animation and I click on which skeleton that I want to use, it simply closes the selection menu and doesn’t select the skeleton that I want to use!

Any answer will be greatly appreciated!