Save the last used directory

ENH : you can now directly access the last directory opened when trying to add other files
BUG : The software doesn't update the widgets anymore if there are no new file (Cancel or Quit in the directory window)