Report question

Question: Best way to ask confirmation from user before leaving the page