ModelDelete now checks the DB error (e.g. FK constraint from devices still using the model) and renders the model list with an alert instead of silently redirecting with no feedback.