added javascript for launchModal