synchronizing adding of widgets