fixes modal close