Frontend: Ask user before leaving / refreshing page