At the moment, if a user is shown the word category modal, but they click on the canvas or any other area outside of the modal, the word category modal disappears and the user is shown a canvas where the timer does not start and no word is shown.
Prevent this behaviour by showing the confirmation modal when the user clicks on an area outside of the word category modal.
At the moment, if a user is shown the word category modal, but they click on the canvas or any other area outside of the modal, the word category modal disappears and the user is shown a canvas where the timer does not start and no word is shown.
Prevent this behaviour by showing the confirmation modal when the user clicks on an area outside of the word category modal.