Refactors messageBoxesFactory so it stores messageBoxes in array instead of object
Adds closeMsgBox method to messageBoxesFactory
Adds closing messageBox when user leaves
Adds close message box button