Trying create a new task for a lead and contact

Trying create a new task for a lead and contact

Whenever I pick a due date from the dropdown calendar, the dialog box for the activity just disappears and no activity is created, but if I manually type in the date, it works?