show edit and delete actions just when editable