re render modal on validation fail