How to make data-dismiss available when the err.errall is true other wise make data-dismiss not available
data-dismiss
err.errall