Relocate FunctionDialog and ROIDialog to dawb.common.ui