Fixed issue with alerts not displaying correctly.