Updated edit element dialog