make offline popup configurable