close dropdown when we click on its button again