fix modal issue on survey change