close flash messages