Added blur event to datepicker popup