Created new method so that the text field is not recreated on each successful ajax call