Text seems to be appending in edit box