Here are two issues (I see that part with power loss issue is under tracking but have an extra opinion - feel free to merge with other similar thread if exists)
1 - dialog that states "App did not close properly last time" is not really actionable. Mean you cannot cancel cleanup, this is just informational. So proper behavior should be - cleanup data, do not show the dialog. Probably Platform should check for such "dirty" data and clean it up on start.
2 - but more serious problem is when you just restarting or shutting down PC normally (no issues) and then each started app showing this message which is heavily annoying. It should not appear if PC was properly restarted or stopped.