file dialog does not work with devices
Added grid square and prefix support