I think I may have found the issue, I am getting the following error.
"Tried to register widget with id==dijit_layout_ContentPane_0 but that id is already registered"
This is widget ID of the Buttons for the Measure widget. Any idea on how to fix this?