Adding Reject button replace with close button

Hi Expert!

I am trying to enable the Reject button instead of close button, I have added the display condition still the button doesn't appear on the ticket.

condition: $G.bg and evaluate($L.tableAccess.reject) and nullsub($G.ess, false)