PopupViewRegistration to manage view popupview and target field - fixing problems
introducing PopupViewRegistration to manage view popupview and target field