Initial implementation of importing resources via a file dialog.