Not showing dropdown when button is closed