Datepicker custom button disappears when date selected (

Datepicker custom button disappears when date selected (

Hi,

I am trying to create a datepicker where a user would be able to pick multiple dates (datepicker stays open when date is selected). Datepicker closes when clicked outside or Done button clicked. The problems is that when I select a date, Done button disappears.

I keep datepicker open with 

$(this).data('datepicker').inline = true;   
$(this).data('datepicker').inline = false; 

I thought keeping datepicker open and having Done button should be a common objective, but I couldn't find any solution

Thank you