added onCLick handling: shift+click will clear the textbox nameField