modal edit variable