appcache, plus tweek to modals