add styles to the item mode and add deletion mode enable/disable