Alta has deal to sell vacant Main St. building