It will be resolved by Reset the model when you click on the close button:
$('#yourModalID').on('hidden.bs.modal', function () {
$(this).find('#error, #success').hide();
$(this).find('#content').show();
$(this).find('form')[0].reset();
});
#yourModalID = Add your model id