added jquery ui and modal dialog on click of details