updated ui for adding and editing targets