Display an alert when the modelid is undefined