trying to troubleshoot why the dropdown opens after selecting an item