Adding icons to dock on Ubuntu Mate 17.15?

I can’t add or remove some applications to the dock on Ubuntu Mate 17.15 (64-bit)? I tryed the same thing I did on 16.04 but is not working?

I was able to find out the problem.

What was the solution?
It may help someone else.

it was just inactive, that’s it.