replace alert/confirmation popups in anlaysis to alert component
replace alert/confirm in note with alert component
replace alert/confirm in assessment factor components with alert component.
models validation