Write add/remove functionality for listboxes.