mid edit modal