Grabbing search value from input on popup