added onClick function on modal close button