put the contact alert box functionality into a partial, allowed it to work for widgets also