remove layers-add-result event handler after widgets have been loaded.  Adding additional layers to map causes _initWidgets to get called and generates errors.