Fixing dropdown-disabled functionality