Dismiss functionality and AJAX rounded out