Added BoxMode to box tool