2048: example usage of new web app api exit warning stuff