add client side validation for opps and fix deadline input