Fix popover opened on modal