click canvas to add data