improve recent documents dialog