added enable/disable the dropdown on rebuild

the plugin will copy the state of the original select