added client side validation when adding a new episode