Fix problem with closing web popup on home button