fix bug where Messages table is emptied after Contacts modal is clicked
fix bug where Messages table is emptied after Contacts modal is clicked

CS450-ECE461/fall2016-group2-userportal,CS450-ECE461/fall2016-group2-userportal