Interesting, but is there a way to store the last visited directory even if the user presses the cancel button?