- submit_center_first('addupdate', _("Update Item"), '', true);
- submit_return('select', _("Return"), _("Select this items and return to document entry."), true);
- submit_center_last('delete', _("Delete This Item"), '', true);
+ submit_center_first('addupdate', _("Update Item"), '',
+ count($_SESSION['Context']) ? true : 'default');
+ submit_return('select', _("Return"), _("Select this items and return to document entry."), 'default');
+ submit('delete', _("Delete This Item"), true, '', true);
+ submit_center_last('cancel', _("Cancel"), _("Cancel Edition"), 'cancel');