Added interface to add close buttons to .messages after page load.