Tweaks for demo. Restoring popup behaviour on date field directive