Added respond script and fixed close link in modal