Fixing error where filepicker prompt never closes

Yep.