Make it work with {showButtonPanel: true}

- Call storeLastDateRange when selecting the second date (instead of onClose)
- Add .onAfterUpdate option, hook it up to $.datepicker._updateDatepicker and use it to add back the Done button (as seen here: http://www.benknowscode.com/2012/11/selecting-ranges-jquery-ui-datepicker.html)