added dialog for import button *check if the given path is valid
added dialog for rent button, *commented out