added custom alert boxes, need to add js close button
resolving conflicts