Added close button to dialog