do not show delete button on read-only pads

small change to hide the delete button on read-only pads.