Fix the closing of a popup DateField (#14086, #14375).

The popup is made non-modal.

Change-Id: Ia396ff1e2e88639b97c9f556d7d3866f76755436