commented mistakenly committed popup and made layer remove a little safer.