Adding close button to slides modal