After I installed plank
as my dock panel, I removed the default Ubuntu dock by running
sudo apt-get remove gnome-shell-extension-ubuntu-dock
Then Ubuntu dock is not on my desktop anymore, but when I open the application menu or Activities overview it is there, how can I hide it?