When filling out a survey, clicking outside of the modal closes the modal. Closing the modal deletes all of the data the user has filled out, which is a usability issue.
The easiest way to fix this would be to disable closing the modal by clicking outside of it and instead having a cancel button to close the survey. An alternative, which I think would take longer to develop, would be to warn the user that they are about to lose their progress.
When filling out a survey, clicking outside of the modal closes the modal. Closing the modal deletes all of the data the user has filled out, which is a usability issue.
The easiest way to fix this would be to disable closing the modal by clicking outside of it and instead having a cancel button to close the survey. An alternative, which I think would take longer to develop, would be to warn the user that they are about to lose their progress.