added close button to update modal