More offline state management fixes
Made offline dialog wait until config is fetched or fails