text is selected when focus is gained