remove "add" button when `allow_add` is false