Reference alert for unpublish

Hi, I notice we get an alert with a list of items with references from the current item when attempting to delete. Is there a way we can get the same alert when saving an item as unpublished?