Modal popup will appear when user tries to close unsaved image with choices to save, not save or cancel. Same will happen if user resets or opens new image over modified one.
Thanks for the PR, I missed it and just checked it now. I found it a bit too complicated and ended up writing an alternative code that uses the current popup implementation.
Adds #126
Modal popup will appear when user tries to close unsaved image with choices to save, not save or cancel. Same will happen if user resets or opens new image over modified one.