fixed issue with user input clearing the date. 

When user inputs the entire date. 
For e.g 
1. Focus on input.
2. type 10/15/1991
3. Press Enter

This clears the input which should not be the behaviour. If user is typing the entire date then no need to remove the date from the this.dates collection. Also if autoclose is enabled hide the datepicker.