display button only if allowed to delete