add alert div to register