fix opp edit and add client side validation
fix opp edit