Bootstrap/prototype popover hide  problem solved, closes #1272.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Fixed tickets | #1272
| Refs tickets  |
| License       | MIT