add a switch for showing/hiding deleted entries