If no file was selected, don't show dialog