update search text based on selection if search already open, fixes 223