implement tool mode menu for mouse and touch devices - ADWD-817