commit changes on textbox focus lost