Added modes for toolbar