Import dialog improvements
Disable import button when there is no json file selected.
Close import dialog when import was succesful.