Update for Message Boxes
Added some comments