When the picker is in a modal popup like MagnificPopup, the click handler on document are in conflict on Chrome/Linux.