Added modes to separate functionalities. So far: add, move, resize, delete.