alert model creation