changes dropdown disabled state