confirmation on page exit

Hello! Is there a way to show confirmation if the user tries to exit the create resource page? It would be useful if the user accidentally clicks the close button or any other link while filling up the create resource form.
Was this page helpful?