Hey Andrew, I tried here.. and.. you could use the following code
test = Quiet[Import[SystemDialogInput["FileOpen"]]]; If[FailureQ@test, "Please, select a file to continue", test] Out[2] = "Please, select a file to continue"