condition  on  listing hide and delete options