Check for existence of buttons before operating on them in the entity form subscriber