This is because there is no Dialog in your code. This has nothing to do with the package. You call the function later, right?
So use Input, DialogInput or probably better suited for this job FileNameSetter.
Input
DialogInput
FileNameSetter
Excellent! Up and running. Thank you!