Added caret listener in find dialog