creating error message for audit modal