popup: closes when user clicks button or some inputs via spacebar
Merge pull request #1139 from bem/issues/1134@v2

popup: closes when user clicks button or some inputs via spacebar (close #1134)