fix Firefox pop issue.
https://github.com/joostory/Dough/commit/45525ba598ef5aa3a4f086d5fbb95eb5584abe04