Creating Global Lodaers and Alerts in React App