added "edit afterwards" option