added close button in modal dialog