Add transition when editing existing items