corrects invalid uppercase Booleans in button definitions to correct error displaying buttons in modal