Fix bug when opening recent file dialog first time without any recent file already.