flag to hide or show delete btn