Added test for the event click close button
Added autohide to the messages