[FileDialogs] Remember last path in all dialogs

Closes #1075