adding a view for addoutcome dialog