Fixed inability to close flash messages.