don't forget to dismiss the file picker