Unable to close datepicker inside dialog in IE

Unable to close datepicker inside dialog in IE

My problem occurs in IE only. Having a dialog with a form with a datepicker like this:



And in IE only, it's impossible to close the datepicker. Any idea anyone?

The datepicker setup like this:
  1. $(function() {
  2. $("#annualSalaryDate").datepicker({
  3. showOn: 'button',
  4. showButtonPanel: true,
  5. buttonImageOnly: true,
  6. buttonImage: 'images/calendar.gif'
  7. });
  8. });

The dialog options:
  1. var setupAnnualSalaryDialog = {
  2.             autoOpen: false,
  3.             modal: true,
  4.             height: 250,
  5.             width: 450,
  6.             position: [640,50]
  7. };


Frode Kristiansen