add close button #3

clicking on close button a modal dialog appears with possible close status
add ulmus compatibility #3