delete button visibility made configurable