commit textbox