auto-save after crop, add undo support later