Match resolution and resolutionUnit on temp DOM

remove the warning dialog when old DOM's resolution not match the new
DOM