Open file dialog if no file is chosen