fixed whitespace
added alert if popups are blocked