Jquery Mobile - Close Jqm-Datebox When Dialog Closes
// this will make sure the datebox closes when the dialog closes$(document).delegate('#closeButton', 'click', function() {
$(".ui-datebox-container").hide();
$(".ui-datebox-screen").hide();
});
Make sure your #closeButton is the same as the button which closes the dialog.