I found a partial solution, as discussed here in rstudio github issue tracker go to RStudio toolbar: Tools -> Global Options -> General -> Advanced -> tick 'Use native file and message dialog boxes'.
The only disadvantage is that the search window is opened behind the RStudio interface.