hide buttons if not editable