Only show the popup menu when Sample type is clicked