Depending on the plumbing code of where you live....but chances are you will need to keep the airgap (not "dishwasher vent"). It's use is to prevent the contaminated water of your dishwasher to mix in with the freshwater supply in the event the city shuts the water off, i.e. siphoning effect. Hence, it is for your and other people's safety.