add utility function which updates the 2 RAID arrays.
removes the used devices from the unused list.
adds the new raid to the used list.
in UI raid dialog, now update the lists based on the RAID device.
convert ui_dialog_text to static function
it is not used by any external modules