fix ipad, add cancel and destructive