preselect input text on popup show