Implemented delete vertex functionality using InfoBox instead of pure DOM javascript.