edition modal working