The modal window that is shown when a user wants to restore a revision, can't be closed via the X button or clicking on the backdrop surrounding the modal as it is usual with modals. This action can only be done through the Cancel button.

When clicked on the X button or the backdrop, this error is shown in the browser's console:

replHistory.js:82 Uncaught TypeError: e.props.hideModal is not a function

at onClick (replHistory.js:82)

at Object.l (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at Object.invokeGuardedCallback (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:15)

at Object.invokeGuardedCallbackAndCatchFirstError (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:15)

at h (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at y (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at b (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at Array.forEach (<anonymous>)

at v (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at C (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at Wr (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:15)

at Pe (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at batchedUpdates (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at Z (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at Me (/_next/ba1c6ffc6477212de976b55fe07525c1/app.js:7)

at HTMLDocument.r (replHistory.js:49)