UC-93 error handling for avatar upload and fixes to GlobalNotification with the newest modals
UC-93 js coding conventions