dropdown button and functionality core