removing the dropdown when "destroy" is called