fix alert handling for product delete/visible