Don't open if input is disabled

The date picker was previously opening when the input it is associated with was disabled. This patch fixes this issue.