Glendive, Miles reach dispatch agreement