update modal close