fixed modal editing