Close find dialog when clicked outside