Keep track of current box using events