Date picker polyfill: Fixed closing on previous menu click (fixes #3869)

The button handler was missing the <code>return false</code>.