just init popover after destroying it by modal closing
Merge pull request #1311 from renatocn/close-modal-fix

Fix popover when closing modal
merge wip to master