feat(autosave): ask user if he wants to ignore changes or save it

SD-921 SD-657