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

On Chrome/Linux, when the date picker is in a modal like MagnificPopup (http://dimsemenov.com/plugins/magnific-popup/), two events handler on $document for click are in conflict.

The method event.stopPropagation() in P.$root.on('click') is not sufficient, we have to prevent default behavior too with event.preventDefault().