Added ending modal