Fix modal close button not working