I'm new and this is my 1st answer. Try the following: `Button["Import", file = SystemDialogInput["FileOpen"]; If[\[Not] TrueQ[file == $Canceled], data = Import[file]], Method -> "Queued"]`